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

Where can I change the background colour of the kitchen sink info?

Discussion in 'XenForo Questions and Support' started by Alex, Mar 2, 2011.

  1. Alex

    Alex Active Member

    As the title really, I can change the background around the avatar and the background for the username/title, but I can't for the life of me find where to change the background colour of the extra user info.

    Have tried firebug (as that's what i usually use) but still can't figure it out, anyone know?

    Thanks
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    Style Properties -> Message Layout -> User Info Block
     
    Perspektif likes this.
  3. Alex

    Alex Active Member

    I'm sure I tried that, will have a look now
     
  4. Alex

    Alex Active Member

    That only does the background behind the username/usertitle, not the info underneath (join date/location, etc..)
     
  5. Brogan

    Brogan XenForo Moderator Staff Member

    Style Properties -> Message Layout -> User Text Block
     
    Perspektif likes this.
  6. Alex

    Alex Active Member

    Changes the same block as Style Properties -> Message Layout -> User Info Block, so looks like it could be a bug?
     
  7. Brogan

    Brogan XenForo Moderator Staff Member

    They are different.
    You can see the difference if you set one to red and one to yellow.

    block.PNG

    One does the whole block, the other just does the text under the avatar.
     
  8. Alex

    Alex Active Member

    I doing that, still don't get any change on my local install, will have another dig at it tomorrow to see what's going on
     
  9. Brogan

    Brogan XenForo Moderator Staff Member

    Around the avatar is, unsurprisingly, Style Properties -> Message Layout -> Avatar Holder
     
  10. Alex

    Alex Active Member

    Yep, just been through all the ones in the Message layout list and none of theose do it, having looked at the code the div class for it is called ExtraUserInfo, and after searching the templates, it is in the message_user_info.css under

    Code:
             .messageUserBlock .extraUserInfo
            {
                @property "messageExtraUserInfo";
                font-size: 11px;
                background-color: @primaryLightest;
                padding: 4px 6px;
                border-radius: 4px;
                @property "/messageExtraUserInfo";
            }
            
                .messageUserBlock .extraUserInfo dl
                {
                    margin: 2px 0;
                }
                
                    .messageUserBlock .extraUserInfo dt
                    {
                        font-size: 9px;
                        display: block;
                    }     
    I changed the background-color: value and that changed the background of the block.

    Can anyone confirm this for me on their installation as if it's not just mine then it looks like a bug?
     
  11. Brogan

    Brogan XenForo Moderator Staff Member

    It works for me on my installation.

    Are you trying this on a default style?
     
  12. Alex

    Alex Active Member

    Both default and my part done one, I'll grab some screenshots to show what I mean as your screenshot above doesn't show the parts I'm refering to by the looks of it
     
  13. Brogan

    Brogan XenForo Moderator Staff Member

    It's OK, I think I see the issue now.

    It looks like that particular element isn't exposed in Style Properties.
    I didn't actually have any additional elements showing so I wasn't seeing the actual problem.

    So it's not exactly a bug, it just hasn't been configured to be changed easily using SP.
    You could do it with EXTRA.css though until/if it gets added.
     
  14. Alex

    Alex Active Member

    Yeah that's what I'm going to do for now, reckon it's worth raising it as a bug or a suggestion?
     
  15. Brogan

    Brogan XenForo Moderator Staff Member

    I've made Kier aware of the thread so no doubt he will make a note of what needs to be done.
     
  16. Alex

    Alex Active Member

    Thanks for your help Brogan :)
     
  17. Mike

    Mike XenForo Developer Staff Member

    This is actually under the "Message Elements" group, as "Author Extra User Info".
     
    Alex and Brogan like this.
  18. Brogan

    Brogan XenForo Moderator Staff Member

    D'oh!

    I just assumed it would be grouped with the other user block related items.
     
  19. Alex

    Alex Active Member

    Thanks Mike, I'll have a look at this again tomorrow now
     
  20. Kier

    Kier XenForo Developer Staff Member

    Seems to me that it should probably go with the other block elements, so I'll move it.
     

Share This Page