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

XF 1.4 How to show certain Message Elements on mobile

Discussion in 'Styling and Customization Questions' started by semprot, Jul 25, 2015.

  1. semprot

    semprot Active Member

    How to show certain Message Elements (such as message count, received likes, etc) on mobile responsive? :)
     
  2. Dylan V

    Dylan V Well-Known Member

    Hi,

    Yes, it's possible. These elements are hidden on mobile due to lack of space, but you can remove the code by searching for message_user_info.css and removing this:
    Code:
    .Responsive .messageUserBlock .extraUserInfo
    {
            display: none;
    }
    You'll need after to ajust a few CSS elements.
     
  3. semprot

    semprot Active Member

    Thank you, it works.
    But you are right, i need to adjust another CSS.
    Any idea what should be edited? :)
     

    Attached Files:

  4. Dylan V

    Dylan V Well-Known Member

    What's your XenForo version? I've noticed that the problem has been fixed in the new version of XenForo:

    Screenshot_1.png
     
  5. semprot

    semprot Active Member

    I use 1.4.9.
    I notice if the user has any user ribbon, it displays correctly.

    Screenshot_5.jpg

    Otherwise, it's like in my previous message.
     
  6. jellytoe

    jellytoe Member

    Has anyone figured another way to style this? As previous poster stated - without the ribbons the alignment is funky.
     
  7. semprot

    semprot Active Member

    Actually i still have the problem :)
     
    jellytoe likes this.
  8. jellytoe

    jellytoe Member

    I would actually just like to show location and maybe one other attribute and have it be in the spot there where the ribbons are showing. I think this is likely possible with a template edit and a responsive conditional. But am having trouble seeing exactly how to do it. Any code gurus want to weigh in?
     
    semprot likes this.

Share This Page