Dear community,
I would like to make my sidebar menu double wide. How can I do that?
A user wants to double the width of their sidebar menu in their Shopify store.
Proposed Solutions:
</head> tag.Drawer--small with width: 680px !important (or 700px) at the bottom of base.css or header.cssCurrent Status:
Note: The conversation includes CSS code snippets that modify the drawer/sidebar width using media queries.
Hello, @admintb !
Can you please provide me with the store URL?
If your store is password protected, please also provide the password so I can access it.
Thanks!
Hi @Ignelis
I removed the PW for you: https://thebasicscollection.com/
Thank you.
To fix it, go to your theme.liquid file and add this code above tag:
Let me know if this helps!
Nothing happens… Above which tag?
If nothing happens, paste this code at the bottom of base.css or header.css file:
@media screen and (min-width: 749px) {
.Drawer--small {
width: 680px !important;
}
}
@admintb did it work? If yes, please accept my reply as a solution, thanks!
Hi @admintb
This is Victor from PageFly - Shopify Page Builder App, I’d like to suggest this idea:
Online Store ->Theme ->Edit code
Assets ->Base.css
@media screen and (max-width: 767px) {
.Drawer--small {
width: 700px !important;
}
}
Hope you find my answer helpful!
Best regards,
Victor | PageFly
@PageFly-Victor I don’t see Base.css
Go to shopify customization > theme settings > custom css
Add the code i mentioned to there
@admintb You can try adding code in the file theme.css