Solved

Customize add to cart button DAWN Theme.

PyroProducts
Tourist
11 2 1

Hello,

I'm looking for a way how to make sure I can change my add to cart to the following:


Slightly more rounded edges.
The black line around the button gone.
Different background colour when hovering.

Tobaliq Black Turbo Aansteker - PyroProducts < Product page
Thanks in advance

Accepted Solution (1)

Made4uo-Ribe
Shopify Partner
5366 1295 1586

This is an accepted solution.

Hi @PyroProducts 

Check this one. 

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:

 

button.product-form__submit.button.button--full-width.button--primary {
    box-shadow: none;
    border-radius: 10px;
}
button.product-form__submit.button.button--full-width.button--primary:hover {
    background: black !important;
}

 

And Save. 

Result:

Made4uoRibe_0-1710348391395.png

When its hover 

Made4uoRibe_1-1710348408379.png

 

 

 

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

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


View solution in original post

Replies 3 (3)

Made4uo-Ribe
Shopify Partner
5366 1295 1586

This is an accepted solution.

Hi @PyroProducts 

Check this one. 

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:

 

button.product-form__submit.button.button--full-width.button--primary {
    box-shadow: none;
    border-radius: 10px;
}
button.product-form__submit.button.button--full-width.button--primary:hover {
    background: black !important;
}

 

And Save. 

Result:

Made4uoRibe_0-1710348391395.png

When its hover 

Made4uoRibe_1-1710348408379.png

 

 

 

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

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


PyroProducts
Tourist
11 2 1

Perfect thankyouuu! 

PyroProducts
Tourist
11 2 1

Do you also know how to add a cart icon before the text?