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. Sub Menu broken after Update

Sub Menu broken after Update

Scheduled Pinned Locked Moved General Discussion
14 Posts 2 Posters 325 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.
  • RichardR Offline
    RichardR Offline
    Richard
    Global Moderator
    wrote on last edited by
    #2

    Dear Robin @rbnbm

    I know its a test-site but is it online so that i can have a better look? :)

    Best
    Richard

    1 Reply Last reply
    0
    • R Offline
      R Offline
      rbnbm
      wrote on last edited by
      #3

      Hi Richard,

      Thanks for the fast reply!
      Here is the site:

      https://www.stage.ah-fotografie.de/

      Best
      Robin

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

        Dear Robin @rbnbm

        Thanks :) Just to be sure in Appearance > menu is the menu-point arrangement set to vertical?

        Best
        Richard

        1 Reply Last reply
        0
        • R Offline
          R Offline
          rbnbm
          wrote on last edited by
          #5

          Hello,

          no, that is set to horizontal, since the main menu points are supposed appear like that. On vertical, the menu a) overlaps with the content and b) the lower main menu points are being concealed by the sub menu points.

          As you may have guessed, this is the actual site: https://ah-fotografie.de/

          It should look like that (although in a perfect world the sub menu points wouldn't be indented : )

          Thanks!
          Robin

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

            Dear Robin @rbnbm

            I think a 'white-space:nowrap ' was added to the navigation in the last update, this is what prevented your items from 'wrapping' one after the other.

            If you could please add the following code within 'Lay Options -Custom CSS & HTML'

            ul.sub-menu {
                white-space: break-spaces !important;
            }
            
            

            Screen Shot 2021-02-02 at 5.43.00 PM.png

            Hope this helps Robin and best wishes

            Richard

            1 Reply Last reply
            0
            • R Offline
              R Offline
              rbnbm
              wrote on last edited by rbnbm
              #7

              Dear @Richard-K ,

              Thanks! That almost did the trick – the lines break, but now the white background only appears at the beginning of menu point... I updated the link so you can see for yourself.

              Thanks again!
              Robin
              Bildschirmfoto 2021-02-02 um 11.24.20.png

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

                Dear @rbnbm

                Sorry for the delay!
                I see you have it working? :)

                Best wishes
                Richard

                1 Reply Last reply
                0
                • R Offline
                  R Offline
                  rbnbm
                  wrote on last edited by rbnbm
                  #9

                  Hi @Richard-K ,

                  no, unfortunately not. Please have a look at the screenshot above – that's not how it is supposed to be, there has to be a white background behind the sub-menu points all the way through, not only at the beginning of the lines.

                  Furthermore it is not possible to reach the links in the sub menu.
                  Here is the testing site again: https://www.stage.ah-fotografie.de/

                  On the main/actual site, there is still an older version of lay and wordpress installed.

                  Thanks
                  Robin

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

                    Dear Robin @rbnbm

                    I am using Chrome sorry and thought that it was fixed:
                    Screen Shot 2021-02-09 at 4.52.43 PM.png

                    However i see on Safari it is not respecting the CSS: 'white-space' so i have learnt something :)

                    Using slightly different CSS seems to work for Safari:

                    ul.sub-menu {
                        word-wrap: normal !important;
                        white-space: pre-wrap !important;
                    }
                    

                    Hope this helps Robin, let me know :)

                    Best wishes and have a wonderful day
                    Richard

                    1 Reply Last reply
                    0
                    • R Offline
                      R Offline
                      rbnbm
                      wrote on last edited by rbnbm
                      #11

                      Hi @Richard-K ,

                      Thanks!

                      Unfortunately in Firefox (v85, MacOS 10.15.7) the problem is still unsolved... I guess learning never stops? Hope that is a good thing.

                      Have a good day!
                      Best
                      Robin

                      Hi @Richard-K ,

                      Thanks!

                      Firefox v85, MacOS 10.15.7

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

                        Dear @rbnbm

                        Sorry for my delay - Yes always learning :)
                        Actually it had to do with the background areas width on Firefox?
                        So if you could please add

                        width: 50%;
                        

                        To the 'sub-menu' CSS you already have & let me know!
                        Screen Shot 2021-02-16 at 5.35.48 PM.png

                        Best wishes
                        Richard

                        R 1 Reply Last reply
                        0
                        • RichardR Richard

                          Dear @rbnbm

                          Sorry for my delay - Yes always learning :)
                          Actually it had to do with the background areas width on Firefox?
                          So if you could please add

                          width: 50%;
                          

                          To the 'sub-menu' CSS you already have & let me know!
                          Screen Shot 2021-02-16 at 5.35.48 PM.png

                          Best wishes
                          Richard

                          R Offline
                          R Offline
                          rbnbm
                          wrote on last edited by
                          #13

                          Hey @Richard-K

                          that did the trick – yeehaw.

                          Great. Thanks a lot for your help and enjoy your day!
                          rbn

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

                            Dear @rbnbm

                            No worries, sorry i was late to get back to you on this one, Have a lovely day and best of luck with the rest of your project :)

                            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
                            S
                            svinder
                            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