Hide certain projects from mobile menu...
-
Hæ everybody,
I've been trying to hide certain projects [that are empty custom links in dropdown menu on desktop version] from the mobile version. I know this should be simple, but I've tried all sorts of CSS and nothing seems to work. Not good with CSS at all... also have searched all threads here for a solution.Could anybody please help me out?
-
Oh one more thing — "Behaviour on Mobile Devices" is set to "Do not show mouseover state" but the site works like "Show mouseover state on tap, tap again to enter project"... Don't know why this is not working, might be a bug.
@ingi I'm interested as well, please share news if you find a solution.
I tried to give the menu page I want to make disappear a class and then style like
in the costum css for mobile.classname {display: none;}
nothing changed :|
-
Dear @Ingi
try this custom CSS code:
.menu-item-has-children > a:first-child { display: none !important; }
I hope that works for you.
We will inspect the problem with the tapping.
Best!
Marius
-
Great! Happy to hear!
I also code custom websites or custom Lay features.
💿 Email me here: 💿
info@laytheme.com
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it