Have your say in Community Polls: What was/is your greatest motivation to start your own business?

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

Solved

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

PyroProducts
Excursionist
17 2 3

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
9079 2170 2679

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!

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.

View solution in original post

Replies 4 (4)

Made4uo-Ribe
Shopify Partner
9079 2170 2679

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!

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.
PyroProducts
Excursionist
17 2 3

Perfect thankyouuu! 

PyroProducts
Excursionist
17 2 3

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

PyroProducts
Excursionist
17 2 3

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