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

XF 1.2 How to space more the banners?

Discussion in 'Styling and Customization Questions' started by mauzao9, Aug 5, 2013.

  1. mauzao9

    mauzao9 Well-Known Member

    Heya there.

    I see the banners get to close to the name and the extra stuff we put in the message user info, so i ask such a simple thing, how to space them?

    I guess it's something about padding, but no idea how to target them.
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    Add to EXTRA.css:
    Code:
    .messageUserBlock .userBanner {
    margin: 4px 0;
    }
    Change the margin to suit.
     
  3. mauzao9

    mauzao9 Well-Known Member

    Just tried, it did no effect at the banners :(
     
  4. mauzao9

    mauzao9 Well-Known Member

    Any other way to do this? I tried with another css but it adds space to the banner itself and not from the outside of it.
     
  5. Jeremy

    Jeremy XenForo Moderator Staff Member

    Try adding !important.
     
  6. mauzao9

    mauzao9 Well-Known Member

    It did something, but it breaks the default styling:
    [​IMG]
     
  7. Jeremy

    Jeremy XenForo Moderator Staff Member

    Try changing it to margin-top: 4px !important.
     
    mauzao9 likes this.
  8. mauzao9

    mauzao9 Well-Known Member

Share This Page