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. I see no submenu on mobile

I see no submenu on mobile

Scheduled Pinned Locked Moved General Discussion
9 Posts 4 Posters 642 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
    Kenneth
    wrote on last edited by
    #1

    Hello,

    I have a menu-item (Work) with two submenu-items (Publications and Clients). On desktop I used the recommended css (like the 'nadine göpfert' website) to show the submenu, but on mobile the submenu doesn't appear. Can somebody help me please?

    Best regards,
    Kenneth

    Website: https://vandepavoordt.nl/
    Browser: latest version of Chrome

    1 Reply Last reply
    0
    • T Offline
      T Offline
      Theodoros
      wrote on last edited by
      #2

      Hey Kenneth,

      cool i didn't know you could put submenus.

      I see them as a different new page in your mobile version. Maybe you could style that?

      (am not a developer)

      1 Reply Last reply
      0
      • mariusjopenM Offline
        mariusjopenM Offline
        mariusjopen
        Global Moderator
        wrote on last edited by
        #3

        Dear @Kenneth
        on the mobile the sub menus get merged.

        Does that answer your question?

        Best!

        Marius

        www.mariusjopen.world

        K 1 Reply Last reply
        0
        • mariusjopenM mariusjopen

          Dear @Kenneth
          on the mobile the sub menus get merged.

          Does that answer your question?

          Best!

          Marius

          K Offline
          K Offline
          Kenneth
          wrote on last edited by
          #4

          @mariusjopen Hello Marius,

          I don't quite understand you. Do you mean that a sub menu is not visible in mobile view?

          Cause on my website the submenu (under menu Work) is not been shown or merged. Hope you can explain that?

          Website: https://vandepavoordt.nl/

          Best regards,
          Kenneth

          1 Reply Last reply
          0
          • mariusjopenM Offline
            mariusjopenM Offline
            mariusjopen
            Global Moderator
            wrote on last edited by
            #5

            Dear @Kenneth
            on my test theme the sub-page gets shown in the mobile menu.
            Do you use any extra code which is connected to the menu?
            Maybe you hide it by accident.

            Best!

            Marius

            www.mariusjopen.world

            1 Reply Last reply
            0
            • K Offline
              K Offline
              Kenneth
              wrote on last edited by
              #6

              Thank you Marius. Due to some css for the desktop view, I changed the CSS for mobile view. The css property "pointer-events" was set to auto instead of none. This did the trick completely.

              Cheers,
              Kenneth

              A 1 Reply Last reply
              0
              • mariusjopenM Offline
                mariusjopenM Offline
                mariusjopen
                Global Moderator
                wrote on last edited by
                #7

                Dear @Kenneth
                ha!

                Great!

                Best!

                Marius

                www.mariusjopen.world

                1 Reply Last reply
                0
                • K Kenneth

                  Thank you Marius. Due to some css for the desktop view, I changed the CSS for mobile view. The css property "pointer-events" was set to auto instead of none. This did the trick completely.

                  Cheers,
                  Kenneth

                  A Offline
                  A Offline
                  AaronDuRall
                  wrote on last edited by
                  #8

                  @kenneth hey there! I was curious, how did you resolve this? This is the code I am using:

                  /submenu/
                  nav.primary .sub-menu li{
                  display: block;
                  position: relative;
                  }
                  .sub-menu{
                  padding-top: 10px!important;
                  opacity: 0;
                  transition: opacity 200ms ease;
                  -webkit-transition: opacity 200ms ease;
                  pointer-events: none;
                  position: absolute;
                  }
                  nav.primary li:hover .sub-menu{
                  opacity: 1;
                  pointer-events: auto;
                  }
                  /**/

                  I tried changing the auto to none like you'd mentioned, but the submenus still don't show on Mobile. Would love any insight on this if you have time. Thank you!

                  1 Reply Last reply
                  0
                  • mariusjopenM Offline
                    mariusjopenM Offline
                    mariusjopen
                    Global Moderator
                    wrote on last edited by
                    #9

                    Dear @AaronDuRall
                    sweet! Thank you for sharing!

                    Best!

                    Marius

                    www.mariusjopen.world

                    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
                    L
                    lulu.ask.
                    N
                    nicolasT
                    P
                    pvicente
                    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