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

xnyjyh
Excursionist
135 0 6

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
4070 912 1564

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!


PageFly - #1 Page Builder for Shopify merchants.


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

xnyjyh
Excursionist
135 0 6

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
4070 912 1564

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!


PageFly - #1 Page Builder for Shopify merchants.


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

xnyjyh
Excursionist
135 0 6

Issue has already been resolved. Thanks though.