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

XF 1.2 User Banner

Discussion in 'Styling and Customization Questions' started by C.Stanley, Jan 13, 2014.

  1. C.Stanley

    C.Stanley Active Member

    How would i make one of the user banners purple?

    banner.PNG
     
  2. Amaury

    Amaury Well-Known Member

    Use custom CSS for .userBanner.
     
    C.Stanley likes this.
  3. C.Stanley

    C.Stanley Active Member

    Please explain
     
  4. Amaury

    Amaury Well-Known Member

    Code:
    .userBanner {
        background: [YOUR COLOR HERE];
    }
     
  5. C.Stanley

    C.Stanley Active Member


    great So I Put This In Extra.CSS? or?
     
  6. Amaury

    Amaury Well-Known Member

    Yes.
     
  7. C.Stanley

    C.Stanley Active Member

    So what goes in the class name box?
     
  8. Amaury

    Amaury Well-Known Member

    What class box? Just place the code I provided for you into your EXTRA.css template, obviously putting in the color you want.
     
    C.Stanley likes this.
  9. katsulynx

    katsulynx Well-Known Member

    You probably want to create your own class for that. Expand the code above to
    Code:
    .userBanner.bannerPurple {
        background: [YOUR COLOR HERE];
    }
    and select the input box in the User Banner selection, filling it with "userBanner bannerPurple" will prevent errors with other banners.
     
    C.Stanley likes this.
  10. Brogan

    Brogan XenForo Moderator Staff Member

Share This Page