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

XF 1.2 Centering Staff Banner Image

Discussion in 'Styling and Customization Questions' started by TaylorTDHouse, Feb 15, 2014.

  1. TaylorTDHouse

    TaylorTDHouse Member

    Hey All,

    I just changed the default staff banner to an image I created. It changed properly, but it is not centered with the postbit.
    [​IMG] Picture to show what it looks like.

    The code I used for this is the code from @Jefferson Filho here: http://xenforo.com/community/resources/user-ranks-with-images.2054/

    Or here it is again:
    .userBanner.bannerStaff {
    background: url("special/staff.png") no-repeat;
    height: 24px;
    width: 91px;
    text-indent: -10000em;
    display: block;

    You can see the actual issue itself here: http://www.mydoges.org/threads/import-went-as-planned.513/
  2. Brogan

    Brogan XenForo Moderator Staff Member

    Try adding margin: 0 auto to the CSS.
  3. TaylorTDHouse

    TaylorTDHouse Member

    Thanks a bunch! That fixed it :)

Share This Page