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

button.primary wont change.

Discussion in 'Styling and Customization Questions' started by Matthew Hawley, Jun 10, 2013.

  1. Matthew Hawley

    Matthew Hawley Well-Known Member

    I put this into the EXTRA.css and it won't change the background color! What am i doing wrong?

    Code:
    .button.primary {
    background-color: rgb(221, 221, 235) !important;
    }
     
  2. Chris D

    Chris D XenForo Developer Staff Member

    Tell us specifically what element you're trying to change.
     
  3. Matthew Hawley

    Matthew Hawley Well-Known Member

    .buttom.primary -.-
     
  4. Chris D

    Chris D XenForo Developer Staff Member

    Smart ass...

    I meant specifically which button primary,what page, what location etc.

    Anyway, it works for me. That is quite a subtle colour.

    Try doing background-color: red; In the first instance.

    Also make sure you're changing EXTRA.css in the right style.
     
    Claudio likes this.
  5. Matthew Hawley

    Matthew Hawley Well-Known Member

    Sorry didn't mean to be rude. In the search bar and status update button.
     
  6. Chris D

    Chris D XenForo Developer Staff Member

    Still works for me.

    Are you sure you're using the EXTRA.css from the correct style? Definitely not using Master Style? Or some other child style that's being overridden elsewhere?

    Definitely works so something you're doing is not right.
     
  7. Matthew Hawley

    Matthew Hawley Well-Known Member

    No I have the right style. Im positive.
     
  8. Lisa

    Lisa Well-Known Member

    I think it might be a caching issue for you. Since the changes you are having issues with in your other thread also show.
     
  9. Jeremy

    Jeremy XenForo Moderator Staff Member

    Are you storing templates as files? I've read recently that they had issues with these updating. If so, try turning that off (to get it to come from the database) and then turn it back on. Or flush your cache.
     
  10. Claudio

    Claudio Well-Known Member

    Hi Guys,

    I'm working on this too but it seems that if I don't set a background color, xenforo applies a different color if I pass the mouse over the buttons.

    However, if I add a background color as yolulz, the hover color disappears the same as the blue background on "post reply". All buttons use the same background and I can't differentiate the primary one
     

Share This Page