Change buttons border-radius

Solved

Change buttons border-radius

Daniel19901
Shopify Partner
296 2 88

Hi, for some reason I can't make the borders round in the drawer cart. Can anyone help ?

https://aaba5d-52.myshopify.com/

 

Daniel19901_0-1721299725332.png

 

Accepted Solutions (2)

Made4uo-Ribe
Shopify Partner
10211 2427 3081

This is an accepted solution.

Hi @Daniel19901 

Check this one. 

  1. From you Admin page, go to Online Store > Themes
  1. Select the theme you want to edit
  2. Under the Asset folder, open the main.css(base.css, style.css or theme.css)
  3. Then place the code below at the very bottom of the file.

 

#t4s-mini_cart .t4s-drawer__bottom .t4s-btn__cart, #t4s-mini_cart .t4s-drawer__bottom .t4s-btn__checkout  {
    border-radius: 30px;
    border-color: #4e102a;
}

.t4s-btn-base.t4s-btn-style-outline:after {
     border-radius: 30px;
    border-color: #4e102a;
}

 

  • And Save.
  • Result:
  • Made4uoRibe_0-1721301646610.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.

View solution in original post

BSS-TekLabs
Shopify Partner
2401 695 835

This is an accepted solution.

- Here is the solution for you @Daniel19901 
- Please follow these steps:

step.png

- Then find the base.css file.
- Then add the following code at the end of the file and press 'Save' to save it.

.t4s-minicart-recommendations {
    border-radius: 20px !important;
}
#t4s-mini_cart .t4s-drawer__bottom .t4s-btn__cart {
border-radius: 29px !important;
    border: 2px solid #4e102a !important;
}
.t4s-btn-base.t4s-btn-style-outline:after {
border-color: white !important;
}

- Here is the result you will achieve:

BSSTekLabs_0-1721303804286.png

 

 

- Please press 'Like' and mark it as 'Solution' if you find it helpful. Thank you.

If our suggestions are useful, please let us know by giving it a like or marking it as a solution.


Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)


Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page


BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

View solution in original post

Replies 4 (4)

aBox_Agency
Shopify Partner
87 9 22

Hello There,

can you please clarify which border you need to modify? Cart Drawer corner ? Button inside it or any other please mark it.

Thank You

Regards,
aBox Agency | Shopify Partners

Need help customizing your Shopify store? Feel free to reach out to us at Shopify Partners Directory or visit our website at aBox.Agency.

If you found this post helpful, please give it a like!

Made4uo-Ribe
Shopify Partner
10211 2427 3081

This is an accepted solution.

Hi @Daniel19901 

Check this one. 

  1. From you Admin page, go to Online Store > Themes
  1. Select the theme you want to edit
  2. Under the Asset folder, open the main.css(base.css, style.css or theme.css)
  3. Then place the code below at the very bottom of the file.

 

#t4s-mini_cart .t4s-drawer__bottom .t4s-btn__cart, #t4s-mini_cart .t4s-drawer__bottom .t4s-btn__checkout  {
    border-radius: 30px;
    border-color: #4e102a;
}

.t4s-btn-base.t4s-btn-style-outline:after {
     border-radius: 30px;
    border-color: #4e102a;
}

 

  • And Save.
  • Result:
  • Made4uoRibe_0-1721301646610.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.

BSS-TekLabs
Shopify Partner
2401 695 835

This is an accepted solution.

- Here is the solution for you @Daniel19901 
- Please follow these steps:

step.png

- Then find the base.css file.
- Then add the following code at the end of the file and press 'Save' to save it.

.t4s-minicart-recommendations {
    border-radius: 20px !important;
}
#t4s-mini_cart .t4s-drawer__bottom .t4s-btn__cart {
border-radius: 29px !important;
    border: 2px solid #4e102a !important;
}
.t4s-btn-base.t4s-btn-style-outline:after {
border-color: white !important;
}

- Here is the result you will achieve:

BSSTekLabs_0-1721303804286.png

 

 

- Please press 'Like' and mark it as 'Solution' if you find it helpful. Thank you.

If our suggestions are useful, please let us know by giving it a like or marking it as a solution.


Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)


Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page


BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

Sweans
Shopify Partner
429 89 129

Hi @Daniel19901 ,

You can change button border radius by adding a simple line of css.

In your Shopify store go to online store > themes > click on the three dots in your theme> edit code

Here, you can search for theme.css in your left sidebar.

And paste this code there.

.t4s-btn-base, 
.t4s-btn-base.t4s-btn-style-outline:before, 
.t4s-btn-base.t4s-btn-style-outline:after, 
.t4s-btn-base.t4s-btn-effect-rectangle-out:hover:before {
    border-radius: 32px;
}


Result :-

Sweans_0-1721305004521.png

 


If you need further assistance, feel free to reach out!
I hope this helps! If it does, please like it and mark it as a solution!

Regards,

Sweans

- Was my reply helpful? Please Like and Accept the Solution or let me know by Buying me coffee!
- Want to modify or custom changes on store Hire me.
- Feel free to contact me at info@sweans.com regarding any help.
- To know more about me check out www.sweans.com