enginama Posted July 18, 2020 Share Posted July 18, 2020 I am working on updating colors on my site and have done pretty much everything but I can't get the Cart continue hover button to update on the color. I edited the custom.css in six template (used a copy of template and have whmcs pointing to the copy) with : .btn-primary:hover { color:#fff; background-color:#24da72; border-color:#204d74 } but the old color is still showing. I've cleared cache and stuff as well. Also tried to modify the code directly in all.min.css and it still doesn't pick it up. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted July 21, 2020 Share Posted July 21, 2020 On 18/07/2020 at 14:56, enginama said: I edited the custom.css in six template (used a copy of template and have whmcs pointing to the copy) it should work, but often you might need to add !important to your CSS changes - especially in the orderform. 0 Quote Link to comment Share on other sites More sharing options...
enginama Posted August 5, 2020 Author Share Posted August 5, 2020 Sorry I am not following. What do I change? 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted August 7, 2020 Share Posted August 7, 2020 On 05/08/2020 at 12:26, enginama said: Sorry I am not following. What do I change? for me, your code works as is - but I was suggesting that you might need to add !important to some lines... .btn-primary:hover { background-color:#24da72 !important; border-color:#204d74 !important; } if you're not changing the font colour, then you don't need to add the color line in the custom.css code. 0 Quote Link to comment Share on other sites More sharing options...
clownfish Posted August 9, 2020 Share Posted August 9, 2020 I have this issue also, and my understanding is that overuse of !important is ill advised, and yet that is what is required. How do I make custom css work without having to use important for almost every change? 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.