All things Shopify and commerce
Hi there,
When I open menu in mobile version, links from the drop-down collection are not visible. Interestingly, I know the links are there because if you click in the empty space where they are supposed to be, it takes you to the corresponding link.
Initially figured that it was the text color for the links, but no matter where I change those, no difference. Please, any clarity will be appreciated since I'm a certified noob with no experience. Thanks!
Solved! Go to the solution
This is an accepted solution.
Hi @E_Lugo ,
The custom code added to the custom.css file was overriding the design for mobile devices. To display the dropdown menu on a mobile device, please add the following code at the end of the 'theme.liquid' file.
<style>
@media only screen and (max-width: 961px) {
.site-nav-dropdown span {
color: #fff!important;
}
}
</style>
Steps to add CSS:
Step 1: Go to Online Store > Themes > Active theme > Edit
Step 2: Search for "theme.liquid"
Step 3: Add the CSS above "</head>"
If you require further help to add the code to your store, please don't hesitate to reach out. If you find this information useful, a Like would be greatly appreciated. And if this solves the problem, please Mark it as Solution!
Best Regards,
Mangit
Hi @E_Lugo ,
Can you provide me with the link to your store so that I can review the dropdown and let you know the solution accordingly?
Thank you
This is an accepted solution.
Hi @E_Lugo ,
The custom code added to the custom.css file was overriding the design for mobile devices. To display the dropdown menu on a mobile device, please add the following code at the end of the 'theme.liquid' file.
<style>
@media only screen and (max-width: 961px) {
.site-nav-dropdown span {
color: #fff!important;
}
}
</style>
Steps to add CSS:
Step 1: Go to Online Store > Themes > Active theme > Edit
Step 2: Search for "theme.liquid"
Step 3: Add the CSS above "</head>"
If you require further help to add the code to your store, please don't hesitate to reach out. If you find this information useful, a Like would be greatly appreciated. And if this solves the problem, please Mark it as Solution!
Best Regards,
Mangit
It worked brilliantly! Correct solution with a great step by step explanation...
Thank you so much!
Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025