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

button.primary wont change.

Matthew Hawley

Well-known member
#1
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;
}
 

Chris D

XenForo developer
Staff member
#4
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.
 

Matthew Hawley

Well-known member
#5
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.
Sorry didn't mean to be rude. In the search bar and status update button.
 

Chris D

XenForo developer
Staff member
#6
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.
 

Lisa

Well-known member
#8
I think it might be a caching issue for you. Since the changes you are having issues with in your other thread also show.
 

Jeremy

Well-known member
#9
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.
 

Claudio

Well-known member
#10
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