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
8274 1985 2436

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 is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.

View solution in original post

Replies 4 (4)

Made4uo-Ribe
Shopify Partner
8274 1985 2436

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 is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.
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?