Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Lay Theme Forum

  1. Home
  2. General Discussion
  3. Horizontal Submenu "white-space: normal" doesn't work anymore

Horizontal Submenu "white-space: normal" doesn't work anymore

Scheduled Pinned Locked Moved General Discussion
4 Posts 2 Posters 98 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    Kilian
    wrote on last edited by
    #1

    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.com

    Thank you in advance,
    All the best,
    Kilian

    1 Reply Last reply
    0
    • RichardR Offline
      RichardR Offline
      Richard
      Global Moderator
      wrote on last edited by
      #2

      Dear @Kilian

      Just to clarify, what Horizontal sub-menu are we referring to:

      Screen Shot 2022-02-17 at 4.42.48 PM.png

      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
      1 Reply Last reply
      0
      • K Offline
        K Offline
        Kilian
        wrote on last edited by
        #3

        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
        dbd54cab-1620-40de-9e6f-a8c499a30d4f-Screenshot7.jpg Screenshot7.jpg

        As 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

        1 Reply Last reply
        0
        • RichardR Offline
          RichardR Offline
          Richard
          Global Moderator
          wrote on last edited by
          #4

          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
          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          I also code custom websites or custom Lay features.
          šŸ’æ Email me here: šŸ’æ
          info@laytheme.com

          Before you post:
          1. When using a WordPress Cache plugin, disable it or clear your cache.
          2. Update Lay Theme and all Lay Theme Addons
          3. Disable all Plugins
          4. 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:
          1. Post a link to where the problem is
          2. Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
          3. If the problem is difficult to explain, post screenshots / link to a video to explain it
          Online Users
          Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com
          laytheme.com
          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Recent
          • Tags
          • Popular
          • Users
          • Search