1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.2 two simple questions on posting user information

Discussion in 'Styling and Customization Questions' started by localhost8080, Jul 27, 2013.

  1. localhost8080

    localhost8080 Well-Known Member

    Hello,

    I've two questions where to find the style settings for

    1) custom user fields below user avatar in a posting

    2) date format for field "user joined at"

    Thank you!
     
  2. Steve F

    Steve F Well-Known Member

    Style Properties -> Message Elements -> Settings

    It is all under the settings. ;)
     
    Shelley likes this.
  3. localhost8080

    localhost8080 Well-Known Member

    yes, but where can I change the styling? there I only can set if the elements shall be displayed or not.
     
  4. MattW

    MattW Well-Known Member

    Each field when displayed in the post information is wrapped in a dl tag and has a custom class that you can use EXTRA.css to style it with:
    EG:
    HTML:
    <dl class="pairsJustified userField_drives">
        <dt>Drives:</dt>
        <dd>VX 220</dd>
    </dl>
    EXTRA.css
    HTML:
    .messageUserBlock .extraUserInfo .userField_drives {
    color: blue;
    }
     
    localhost8080 likes this.
  5. localhost8080

    localhost8080 Well-Known Member

    big thanks @MattW

    do you also know where I can change the date format to be displayed 01.01.2013 instead of 01. January 2013?

    Thanks!
     
  6. Brogan

    Brogan XenForo Moderator Staff Member

    Click on the language - the date format can be set there.
     
    MattW likes this.
  7. localhost8080

    localhost8080 Well-Known Member

    yeah, bit I just want to change it for the date under the user avatar in a posting..
     
  8. Brogan

    Brogan XenForo Moderator Staff Member

    You can't, it's a global setting.
     

Share This Page