change thickness for outline of button, image banner

change thickness for outline of button, image banner

ads18922
Pathfinder
173 0 50

hello, i would like to make my button outline a bit thicker. This is what it looks like currently:

Screenshot 2025-03-30 at 18.23.40.png

i would like it to look something like this:

Screenshot 2025-03-30 at 18.23.43.png

as you can see, the box outline is thicker.

my website is www.alexandrawestbrook.com , theme is dawn

Replies 3 (3)

Moeed
Shopify Partner
7375 1996 2437

Hey @ads18922 

 

Follow these Steps:

1) Go to Online Store
2) Edit Code

3) Find theme.liquid file

4) Add the following code in the bottom of the file above </body> tag

<style>
.banner:not(.slideshow) .rte a {
    border: solid 2px white !important;
    padding: 9px 20px !important;
    text-decoration: unset !important;
}
</style>

RESULT:

Moeed_0-1743356162041.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


CafeDelMar
Shopify Partner
163 36 45

Hi @ads18922.

 

Here's how to achieve that:
1. Navigate to Sales Channels → Online Store → "Customize" button → Theme settings (Gear icon on the left sidebar) → Custom CSS
2. Add the following code:

#MainContent .banner__text.rte.body a {
    padding: 11px 25px !important;
    border: 2px solid white !important;
    text-decoration: none !important;
}

3. Save (right top corner)
4. Hard refresh the storefront

 

If done correctly, the result should be like this:

Screenshot_2.png

➡➡   Easy Embed Code   ⬅⬅ add CSS/JS/Liquid codes to any page of your store



Speed Booster App - Improve your store speed in 3 clicks
- Was your question answered? Mark it as an Accepted Solution

Rahul_dhiman
Shopify Partner
808 155 169

Hello @ads18922 
Go to online store ----> themes ----> actions ----> edit code ----> assets ----> section-image-banner.css
add this code at the end of the file and save.

.banner--desktop-transparent .rte a, {
border: 3px solid #fff !important;
padding: 9px 20px !important;
text-decoration: none !important;
color: white !important;
}

result

85.png

If this was helpful, hit the like button and accept the solution.
Thanks

Want to modify or custom changes or bug fix on store . Or Need help with your store? Or -Want Complete Storefront

Contact here


BEST CUSTOMER ACCOUNTS APP WITH CUSTOM WISHLIST OPTION 
TRY OUR APP :

PWC: Customer Accounts & Pages