Links in Drop Down Menu are not Visible in Mobile Version

Solved

Links in Drop Down Menu are not Visible in Mobile Version

E_Lugo
New Member
5 0 0

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.

 

E_Lugo_0-1696538910682.png

 

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!

Accepted Solution (1)
theycallmemakka
Shopify Partner
1802 436 468

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

makkaomakka_0-1696605584581.png

 

 

Step 2: Search for "theme.liquid"

makkaomakka_1-1696605584657.png

 

 

Step 3: Add the CSS above "</head>"

makkaomakka_2-1696605584569.png

 

 

 

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

Support Me: Buy me a Coffee


For quick response - Message Me


Ping me at: theycallmemakka@gmail.com

View solution in original post

Replies 4 (4)

theycallmemakka
Shopify Partner
1802 436 468

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

Support Me: Buy me a Coffee


For quick response - Message Me


Ping me at: theycallmemakka@gmail.com

E_Lugo
New Member
5 0 0
theycallmemakka
Shopify Partner
1802 436 468

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

makkaomakka_0-1696605584581.png

 

 

Step 2: Search for "theme.liquid"

makkaomakka_1-1696605584657.png

 

 

Step 3: Add the CSS above "</head>"

makkaomakka_2-1696605584569.png

 

 

 

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

Support Me: Buy me a Coffee


For quick response - Message Me


Ping me at: theycallmemakka@gmail.com

E_Lugo
New Member
5 0 0

It worked brilliantly! Correct solution with a great step by step explanation...

 

Thank you so much!