Costume Menue scattered after laytheme plugin update
-
Hi there, a menue i created is now all out of line since i updated laytheme plugins. It doesnt respond to costume css anymore. Any hints?
http://renaeshadler.com/ is the website.
This is the code for the submenu. It worked up until the update ...! All other plugins and theme and wordpress is updated.
Bildschirmfoto 2021-10-26 um 09.29.35.png
Thank you for your help!!!!
Hanna -
Dear @hanna
A recent update (16 october) brought sub-menu's as a built in Lay Theme option:
- Submenu support for desktop and mobile menus! Create a submenu by drag and dropping menupoints in "Appearances" → "Menus".
- Customizer: Added Submenu settings in "Customizer" → "Menu Style" → "Submenus"
Your custom code is fine except the use of
.sub-menu
is now targeting the new menu and your original custom one.Options could be using Lay Theme's Sub-menu and styling it - or setting up your custom Sub menu with a different name e.g
custom-sub-menu
and then targeting with that to avoid clash E.g.custom-sub-menu { margin-top: -70px!important; margin-right: 0% !important; padding-top: 5%!important; padding-left: 40px!important; padding-bottom: 1200px!important; padding-right: 1% !important; opacity: 0; transition: opacity 200ms ease; -webkit-transition: opacity 200ms ease; pointer-events: none; position: fixed; right: 0px; background-color: black; }
Talk soon & best wishes Hanna 🌝
Richard
-
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