How to add hover effect on check out button, dawn theme

JMecom_0-1705931619342.png

This is what my checkout button currently looks like,

I want to make it so that when i hover on it, it looks like this;

But with a green border, and green text. When hovering i want it to have a smooth transitioning animation from left to right.

Thanks in advance!

Hi @JMecom ,

Please provide the link to your store.

Hi @JMecom

Do you mean like this?

You have already a transitioning and a animation of heartbeat. do you like to change that one?

This is the code for the hover designs.

From your Shopify admin dashboard, click on “Online Store” and then “Themes”.

Find the theme that you want to edit and click on “Actions” and then “Edit code”.

In the “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

.product-form__submit:hover {
    background: transparent !important;
    color: #3bbf37 !important;
    border: 1px solid #3bbf37;
}

And Save.

Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!

Hi there, i’ve tried this code, it doesn’t change it. Yes I want to keep the heartbeat there, in combination with this code.

www.moxxishop.nl

pw: maycru

Hey @JMecom ,

Go to your theme’s “Edit Code” Option, then in the search bar type “theme.liquid”
Below the tag “” tag paste the following. Screenshot attached for reference.


Screenshot is for reference only, the correct code to paste is the one shown above.