Hi, for some reason I can’t make the borders round in the drawer cart. Can anyone help ?
Topic summary
Issue: The store owner can’t get rounded borders on buttons in the drawer cart (mini cart). They ask for help; one reply requests clarification on which element needs rounding.
Proposed fixes (all via CSS added at the end of theme/base.css):
- Target drawer cart action buttons using t4s selectors (e.g., #t4s-mini_cart .t4s-drawer__bottom .t4s-btn__cart / .t4s-btn__checkout) and set border-radius (≈29–30px) and border/border-color. One solution also adjusts the outline style’s :after pseudo-element for consistent rounding.
- Use !important to ensure overrides, including setting a 2px solid #4e102a border and white border-color on outline variants. Another snippet rounds .t4s-minicart-recommendations (20px).
- Apply a broader rule to .t4s-btn-base and its :before/:after (and a hover effect variant) with a 32px radius to round buttons theme‑wide.
Context: Screenshots show the expected rounded results; no code beyond CSS is required. Terms: border-radius (CSS property for rounded corners), pseudo-elements (:before/:after), !important (forces override).
Status: Multiple valid solutions provided; the original poster hasn’t confirmed resolution. The thread appears open.
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
Hi @Daniel19901
Check this one.
- From you Admin page, go to Online Store > Themes
- Select the theme you want to edit
- Under the Asset folder, open the main.css(base.css, style.css or theme.css)
- 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:
Please don’t forget to Like and Mark Solution to the post that helped you. Thanks
- Here is the solution for you @Daniel19901
- Please follow these steps:
- 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:
- Please press ‘Like’ and mark it as ‘Solution’ if you find it helpful. Thank you.
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 :-
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




