XF 2.2 Change colour of post thread button

Try this in extra.less template
Less:
.button.button--cta:hover {
    background: #000000;
    border: 1px solid #000000;
}
If this code don't work just add !important after your code color : #000000 !important;
Change the code color as you want.
 
That will change the hover color for all Buttons which are declared as cta. Not a good idea if it should only the new thread button.

You need to declakre also, if you want to change the color on all pages, or on only on the Forum List or somewhere else.

Sadly the button has now own class that we can use as a selector, so the best would be to add a class in the templates to the button and then add this class to the extra.less
 
Top Bottom