Jump to content

Change color on hover in template


enginama

Recommended Posts

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 caimage.thumb.png.b087ee58bb0945f031cb47b1fc9a3370.pngche and stuff as well. Also tried to modify the code directly in all.min.css and it still doesn't pick it up.image.thumb.png.b087ee58bb0945f031cb47b1fc9a3370.png

Link to comment
Share on other sites

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.

cLH18MS.png

Link to comment
Share on other sites

  • 2 weeks later...
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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated