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

XF 1.5 How do I move the position of usergroup banners?

Discussion in 'Styling and Customization Questions' started by Bevy, May 31, 2016.

  1. Bevy

    Bevy New Member

    Hello,

    I literally suck at css :) BUT I can get by with a little help from friends. Can someone please let me know how I can move the usergroup banners ( says staff) to display below the profile picture and above username?

    upload_2016-5-31_13-1-4.png

    If this is not possible any guidance on making the banner square rather than wrapped?



    Thanks in Advance!

    Beverly
     
  2. Snog

    Snog Well-Known Member

    Edit the message_user_info template and move this..
    Code:
    {xen:helper userBanner, $user, 'wrapped'}
    Below this...
    Code:
    <xen:username user="$user" itemprop="name" rich="true" />
     
    Bevy likes this.
  3. Bevy

    Bevy New Member

    That worked! Except its still below the username :( can i move it above that?
     
  4. Snog

    Snog Well-Known Member

    Oops, read your post wrong.

    Move that above the part where I said below. ;)
     
    Bevy likes this.
  5. Bevy

    Bevy New Member

    Thank you so much it worked.. you literally just saved me from gaining about another 100 Grey hairs.
     
  6. Bevy

    Bevy New Member

    One more quick question in regards to this. There is a small space between the banner and profile pic is it possible to get rid of that space?

    upload_2016-5-31_20-24-41.png
     
  7. M@rc

    M@rc Well-Known Member

    Add this to EXTRA.css in your templates assuming you haven't made much edits to the default theme :
    Code:
    .messageUserBlock h3.userText {
        padding-top: 0px !important;
    }
    
     

Share This Page