Solved

How can I customize the add to cart button on Dawn Theme?

PyroProducts
Excursionist
13 2 2

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
6035 1448 1785

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.❤️❤️❤️
For FREE, premium codes, and trusted, knowledgeable Shopify developers, visit us at

Made4uo.com


View solution in original post

Replies 4 (4)

Made4uo-Ribe
Shopify Partner
6035 1448 1785

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.❤️❤️❤️
For FREE, premium codes, and trusted, knowledgeable Shopify developers, visit us at

Made4uo.com


PyroProducts
Excursionist
13 2 2

Perfect thankyouuu! 

PyroProducts
Excursionist
13 2 2

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

PyroProducts
Excursionist
13 2 2

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