dawn theme - drawer cart width: 50% desktop / 100% mobile

dawn theme - drawer cart width: 50% desktop / 100% mobile

xnyjyh
Trailblazer
390 0 45

Hello, been trying to get the cart drawer to be 50% width on desktop view and 100% width on mobile. Cant seem to get it 😞 Any suggestions?

Replies 4 (4)

PageFly-Richard
Shopify Partner
4902 1102 1781

Hi @xnyjyh 

 

This is Richard from PageFly - Shopify Page Builder App

 

Please add this code to your theme.liquid above the </head> to get this solved

Step 1: Online Stores > Themes > More Actions > Edit code

Step 2: click on theme.liquid and paste the code above the </head>

<style>
.drawer__inner {
width: 50rem;
}
@media screen and (max-width: 767px){

.drawer__inner {
width: 40rem;
max-width: 100%;
}
}
</style>

 

Hope this can help you solve the issue 

 

Best regards,

Richard | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


➜ Optimize your Shopify store with PageFly Page Builder (Free plan available) 


All features are available from Free plan. Live Chat Support is available 24/7.

xnyjyh
Trailblazer
390 0 45

Hello Richard, It does not help. desktop it did nothing, and mobile it did as seen in image below:

123mobile.png

PageFly-Richard
Shopify Partner
4902 1102 1781

Please share url to your page, maybe your theme has different cart structures

Please let me know if it works by giving it a Like or marking it as a solution!


➜ Optimize your Shopify store with PageFly Page Builder (Free plan available) 


All features are available from Free plan. Live Chat Support is available 24/7.

xnyjyh
Trailblazer
390 0 45

Issue has already been resolved. Thanks though.