Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hi there team hope all is well !
we recently had our store edited via coding and were having issues on the mobile few, the header icons are not all showing in the header.
I am hoping to get some assistance on re-spacing the icons on mobile , even if that requires reducing the size of the logo it's no problem , i'm just really hoping to have all the icons showing in the header.
this is a photo is how it looks on mobile. you can only see the user, search and cart icon but not the navigation icon
store url ; https://backtoreality.co/
pass: reality
Thank you in advance ❤️
Check this one, im not sure if it will work. You add a lot of override codes i mnot sure if it listen.
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 "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
@media only screen and (max-width: 767px){
#shopify-section-header .Header__Icon {
width:fit-content !important;
}
header#section-header .Header__Wrapper {
gap: 0px !important;
}
#section-header > div > div:nth-child(1) {
margin-left: 0px !important;
margin-right: 1rem;
}
.HorizontalList__Item {
width: 2rem !important;
}
}
And Save.
Result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Hi @Made4uo-Ribe thank you so much for your reply !
i was actually able to get it aligned on mobile with a different code but now unfortunately whenever i go onto another page the header icons gets displaced , but when you are on the homepage they look fine. do you know what can be causing this possibly, would really appreciate your input on this issue.
Im not sure If ill be able to fix it. Because you add already a lot of code. It will take time to clean the css files. 😅
ohhh mann😭 so you really dont think you would be able to help me on this one ?
By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024