Shopify themes, liquid, logos, and UX
My search and hamburger menu are not working properly on mobile. Upon reading some other community posts, it looks like some of the custom code that I added might have messed things up, but I've been adding some bits of code here and there for the past few months, so I can't remember all the changes. Can someone please take a look to see if there's a quick fix? Thank you!
Solved! Go to the solution
This is an accepted solution.
Please follow the steps:
- Step 1: Go to Online store > Themes > Actions > Edit code.
- Step 2: Go to Assets > theme.js and find ".site-nav__dropdown", it will be at the end of the file. https://i.imgur.com/puJTe1z.png
This is CSS code so you can't put it in JS file.
Hope it clear to you.
This is an accepted solution.
You put the code in the wrong file which is causing the issue. The code mentioned in the screenshot is in the Theme.js file, You need to remove this code from there. And paste it at the bottom of the theme.css file.
Do let me know if you can't do it yourself.
Sorry for facing these issue.
Welcome to shopify community.
Let me check your issue.
We will it.
Thank you
Thank you! Can you let me know what the solution is?
This is an accepted solution.
You put the code in the wrong file which is causing the issue. The code mentioned in the screenshot is in the Theme.js file, You need to remove this code from there. And paste it at the bottom of the theme.css file.
Do let me know if you can't do it yourself.
Yes, it worked! Thank you so much for helping.
@StellaGold, You're welcome.
This is an accepted solution.
Please follow the steps:
- Step 1: Go to Online store > Themes > Actions > Edit code.
- Step 2: Go to Assets > theme.js and find ".site-nav__dropdown", it will be at the end of the file. https://i.imgur.com/puJTe1z.png
This is CSS code so you can't put it in JS file.
Hope it clear to you.
Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024Digital marketers and app developers have tracked activity in apps and websites for yea...
By Ollie Mar 13, 2024February was an exciting month with Shopify Editions, informative webinars, and more! F...
By JasonH Mar 7, 2024