Thanks in advance!
I’m looking to move all of the words over to the left near the edge of the page. I’m looking to be able adjust it to my liking. Example shown below.
password: dc
A user wants to reposition the mobile menu text in the Dawn theme, specifically moving it to the left edge of the page with adjustable positioning.
Proposed Solutions:
Two developers provided CSS-based approaches:
base.css file targeting .menu-drawer__menu-item with padding adjustmentstheme.liquid file (before the </body> tag) using padding properties to control menu item positioningBoth solutions involve:
The discussion remains open, awaiting the original poster’s feedback on whether either solution resolves their issue.
Thanks in advance!
I’m looking to move all of the words over to the left near the edge of the page. I’m looking to be able adjust it to my liking. Example shown below.
password: dc
Add This css In edit Code > base.css File
.menu-drawer__menu-item {
padding: 1.1rem 1rem !important;
}
Hello @MMast ,
I understand you are looking to move the mobile menu item to the left
You can move the mobile menu item using CSS code, you have to implement padding property in that section.
Please add the below-mentioned code for the desired change.
Go to Online Store → Themes → Click on three dots → Edit Code.
Now, Search and open theme.liquid file
Next add the mentioned code at the bottom of the theme.liquid file before tag and save.
[ Please feel free to change the pixel size of the padding property.]
Output →
I hope the code helps you.
Please share if you have any queries.
Thank you.