button.primary wont change.

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;
}
 
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.
 
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.
 
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.
 
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.
 
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
 
Top Bottom