Shopify themes, liquid, logos, and UX
Trying to figure out how to change the design on the side menu drawer, and it seems like all settings under "Typography" are ignored when using the "Drawer" option.
This is how it currently looks like:
I'd like to change the font, text size, letter spacing, line height of this text - as it doesn't appear to be an option in the GUI.
(Might need a separate option for mobile and desktop)
Additionally, if possible (since there's lots of room on the top of the menu, add logo to it?
Here's a preview link
https://t8n43rstgq4tsegu-50647859379.shopifypreview.com/
Solved! Go to the solution
This is an accepted solution.
@lion_no- add all this css
@media only screen and (min-width:590px){
.mobile-nav__item .mobile-nav__faux-link, .mobile-nav__item a:not(.megamenu__promo-link) {
font-size: 20px;}
}
This is code customization work Contact to your theme developer OR support.
Thanks!
@dmwwebartisan I can understand that the logo might be a code customization work, but the text styling / formatting shouldn't be anything more than a code adjustment the theme.css.liquid as far as I understand?
@lion_no- if you have multiple changes then you can contact me on my email and we can make changes one by one
Changing font size is most likely enough, the rest of the options are a example of missing functions.
@lion_no- to change font size, please add this css to the very end of your theme.css file and check, this current code will reduce font size
@media only screen and (min-width:590px){
.mobile-nav__item .mobile-nav__faux-link{font-size: 20px;}
}
@suyash1 thanks, but unfortunately it didn't work for all of it 😕
Both subcategories and "ACCOUNT" is still using the large font
This is an accepted solution.
@lion_no- add all this css
@media only screen and (min-width:590px){
.mobile-nav__item .mobile-nav__faux-link, .mobile-nav__item a:not(.megamenu__promo-link) {
font-size: 20px;}
}
@lion_no- welcome
Hey @suyash1
How can we do it in 2023?
I also want to change text size on my dawn theme
https://diversusoficialsite.myshopify.com/
pass: diversusoficial
@HELDERWRLD hello, which text size do you want to change?
All these text on mobile and desktop
@HELDERWRLD - please add this css to the very end of your base.css file and check, adjust the number as per the need
.list-menu__item{font-size: 22px !important;}
The max it goes is like 14px, i want even smaller, what can i do?
@HELDERWRLD - adjust number 22 in above css to 12 or 10 and check
Already did, even to 5px, didn't change a bit. Only goes up, but not down
@HELDERWRLD - it is like this, it has changed
It worked now, maybe had a quick bug but it works fine now.
Thank you so much.
I have one more question please. How can i make my menu to open only halfway on mobile? Mine opens full screen and covers the rest of the website.
Want it like this:
@HELDERWRLD - add this css and check
@media screen and (max-width:749px){
.menu-drawer{max-width: 70%;}
}
It works, damn you are amazing.
Thank you so much for your help!
Any tips on how to put the search on the menu and change the search icon on the header to the login icon? Mobile only.
Also would like to remove the arrows on my menu on mobile and desktop
@HELDERWRLD - to remove arrows on menu, please add this css.
.menu-drawer__menu-item>.icon-arrow{display:none; visibility:hidden;}
to add search to menu it will need code editing, it is not a task of single line or two and it can break search functionality, hence I recommend not to do it
It worked, thank you!
Change the icon on the header would also break it?
Or at least make the search and cart smaller and add the login on it
@HELDERWRLD - hello, sorry for the late reply, it will also need code editing
I already found a code that does the trick. Could you please help me fix the size of the icons?
They are too big and with a lot of space in between, my logo moved because of this.
I would like it to be like this:
@HELDERWRLD - try this css and check
@media screen and (max-width:749){
.header{padding: 2px 1rem 2px 1rem;}
.header__search{margin-right: -20px;}
.header .header__icon--account{margin-right: -20px;}
}
User | RANK |
---|---|
227 | |
181 | |
63 | |
58 | |
47 |
On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...
By Arno Nov 27, 2023You've downloaded the Search & Discovery app from the Shopify App store, and as you're ...
By Skye Nov 8, 2023The year-end shopping season is just around the corner. Is a flash sale on your radar? Are...
By Jasonh Nov 6, 2023