Re: Change Cart Drawer Design

How can I modify my cart drawer design?

admintb
Navigator
346 6 57

Hi there

I would like to make the following changes:

- remove the header and footer border
- remove the underline under the Remove

- change the size / color text to body text

 

https://zpiht1ohg2wr7er6-70487015690.shopifypreview.com

Bildschirmfoto 2023-11-04 um 14.36.47.png

Replies 7 (7)

Asad24
Shopify Partner
180 36 33

Go to your online store -> Customize -> Settings ->Custom Css 
and paste this code in the custom css section


.drawer::part(header) {
      border: none !important;
}
.cart-drawer:not(:has(.cart-drawer__footer:only-child))::part(footer) {
     border: none !important;
}
.link, .prose a:not(.h1,.h2,.h3,.h4,.h5,.h6,.button,.link-faded,.link-faded-reverse) {
    background: no-repeat !important;
}
.v-stack {
color: red !imprtant;
}
.text-subdued {
color: red !imprtant;
}

Asad24_0-1699106541937.png

 

banned
admintb
Navigator
346 6 57

Doesn't work

Made4uo-Ribe
Shopify Partner
9594 2285 2840

Hi @admintb 

Please, provide another preview. 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.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.
Made4uo-Ribe
Shopify Partner
9594 2285 2840

Thanks for the info, Just to clarify which body text you like to have a color and change the sizes? 

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:

 

.drawer::part(header) {
    border-block-end: none !important;
}
.drawer::part(footer) {
    border-block-start: none !important;
}
.link, .prose a:not(.h1,.h2,.h3,.h4,.h5,.h6,.button,.link-faded,.link-faded-reverse) {
    background: none !important;
    transition: none !important;
}
.v-stack.justify-items-start.gap-2 * {
    color: red;
}

 

  • And Save. 
  • Result:
  • Made4uoRibe_0-1699298074941.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.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.
admintb
Navigator
346 6 57

I still see the borders and I don't need the color red.

Made4uo-Ribe
Shopify Partner
9594 2285 2840

Find this one in your theme.css 

Made4uoRibe_0-1699301993305.png

change the border-block-end: none.

Made4uoRibe_1-1699302048120.png

also this one. 

border-block-start. 

Note: you can change any color you like on the color code. 

Please, dont forget to refresh and save. 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.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.