Horizontal Submenu "white-space: normal" doesn't work anymore
-
Hey there!
I have a horizontal submenu (thank you for the update on that!!), that is supposed to break at the end of the window and then continue in the next line. Laytheme doesn't do that (as far as I could find out) so I used CSS "white-space: normal".
This used to work until a few updates ago, now it doesn't work anymore. How can I fix that again?
The website is www.kilianimmervoll.comThank you in advance,
All the best,
Kilian -
Dear @Kilian
Just to clarify, what Horizontal sub-menu are we referring to:
I noticed the Current menu items are responsive to browser re-sizing and the sub-menu's are vertical.
(I understand if you changed it in the meantime while looking for a solution 🌝 )
Best
Richard
-
Dear @Richard
oh I didn't see your reply until now, thank you!
Well yes, I did change it so it would kind of work in the meantime.
Actually it looks like this
Screenshot7.jpgAs you can see, the submenu text continues out of the frame.
A friend of mine helped me with this css before the update that added the submenu option:/* STYLING SUBMENU */
.sub-menu ._MenuARKI {
font-size: 1.75vw;
padding-right: 2vw;
}
nav.laynav .sub-menu {
white-space: normal;
}body[data-type="project"][data-id="921"] nav{
display: none !important;
}Before that update (with the submenu option), it worked perfectly fine, but now the "white-space: normal:" doesn't seem to work anymore. Before that, the submenu would start on the left side of the frame right underneath the most left Menu point (here "PROJECTS") and right under the most right menu point ("CONTACT") there would be a line break and the submenu point would continue in the next line, on the left side again.
Do you have any idea why that doesn't work anymore??All the best and thank you for responding!!
Kilian -
Dear @Kilian
Thanks for the update & the great explanation 🌝
I am unsure why exactly without being able to look at the sub-menu and see how it behaves. I notice not "commissions" has no sub-menu?Is there anyway i can view the sub-menu to better inspect it?
I understand that you would not want a broken sub-menu to be present all the time, so we may need to work something else out 👍 is it still present but just not "switched on" ?
Talk soon & have a wonderful day
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