How can I edit the Buy Now button on my website?

Solved

How can I edit the Buy Now button on my website?

empiricalarby
Trailblazer
179 1 31

Hi,

 

I'd like to edit the Buy Now button in the coffee banner image at the top: https://empiricalwater.com/

 

How do I:

1. Increase the text font size?

2. Increase the thickness of the button outline?

 

Thanks

Accepted Solution (1)

Made4uo-Ribe
Shopify Partner
6961 1655 2038

This is an accepted solution.

Hi @empiricalarby 

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:

 

.banner--desktop-transparent .banner__box a.button.button--secondary {
    font-size: 25px;
}
.banner--desktop-transparent .banner__box a.button.button--secondary:after {
    box-shadow: 0 0 0 calc(2 * var(--buttons-border-width) + var(--border-offset)) rgba(var(--color-button-text), var(--border-opacity)),
            0 0 0 var(--buttons-border-width) rgba(var(--color-button), var(--alpha-button-background));

}

 

And Save. 

Result:

Made4uoRibe_0-1705802134042.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

Reply 1 (1)

Made4uo-Ribe
Shopify Partner
6961 1655 2038

This is an accepted solution.

Hi @empiricalarby 

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:

 

.banner--desktop-transparent .banner__box a.button.button--secondary {
    font-size: 25px;
}
.banner--desktop-transparent .banner__box a.button.button--secondary:after {
    box-shadow: 0 0 0 calc(2 * var(--buttons-border-width) + var(--border-offset)) rgba(var(--color-button-text), var(--border-opacity)),
            0 0 0 var(--buttons-border-width) rgba(var(--color-button), var(--alpha-button-background));

}

 

And Save. 

Result:

Made4uoRibe_0-1705802134042.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.