hi, can someone please help me make my empty cart drawer full width on my mobile site?
PW: chester
hi, can someone please help me make my empty cart drawer full width on my mobile site?
PW: chester
Hi @vanessabate
This is Henry from PageFly - Landing Page Builder App
You can try this code by following these steps:
Step 1: Go to Online Store->Theme->Edit code.
Step 2: Search file base.css
Step 3: Paste the below code at bottom of the file → Save
@media (max-width: 767px){
.drawer__inner-empty {
width: 350px !important;
}}
Hope that my solution works for you.
Best regards,
Henry | PageFly
It didn’t work unfortunately, do you have any other ideas?
Hi @vanessabate ,
Please follow the following steps
Go to your online store and select Themes from left panel
Press 3 dots menu in center (on the left of Customize button) and then Edit Code
Open the file base.css (you can search for it)
Add the following CSS code at the end of that file
Save the changes, and refresh your store to see them in effect
.cart-drawer {
width: 100%;
}
After adding these styles the mobile will look like this
Hi @vanessabate
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 “theme. Liquid” file. Find the tag and paste the code below before the tag.
And Save.
Result:
Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!