Add to cart hover- Impulse theme

Solved
Courtney223
New Member
3 0 0

How do i change the hover on my impulse theme? Right now i coded the add to cart button to be black. But the hover is white so it disappears. How can i fix this? 

0 Likes
JHKCreate
Shopify Partner
2046 331 445

Hi @Courtney223 

Would you mind sharing your store's URL so we can provide the solution for that? Cheers!

- Did we solve your issue? Like & Mark As Solution to help the community
- Should you need any direct help: contact@jhkcreate.com
0 Likes
Courtney223
New Member
3 0 0
0 Likes
JHKCreate
Shopify Partner
2046 331 445

Add the following code to your theme.css file:

.btn--secondary:hover, .rte .btn--secondary:hover {
    background: black;
}

 

That should do it!

- Did we solve your issue? Like & Mark As Solution to help the community
- Should you need any direct help: contact@jhkcreate.com
0 Likes
SagarSukhanandi
Tourist
115 18 34

This is an accepted solution.

Hello @Courtney223 

Here is the simplest solution
1. Go to Online Store->Theme->Edit code
2. Asset->/theme.scss.liquid->paste below code at the bottom of the file.

.add-to-cart.btn--secondary{
background: black !important;
}



If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on sagar.sukhanandi@gmail.com regarding any help
0 Likes
Courtney223
New Member
3 0 0

Awesome that worked! thank you

0 Likes
SagarSukhanandi
Tourist
115 18 34

@Courtney223 

Thank you to accept my solution. It will be really helpful if you like my messages as well

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on sagar.sukhanandi@gmail.com regarding any help
0 Likes