Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Brite
  • 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 2.1k 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
    K
    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
      T
      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
        mariusjopenM
        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
          K
          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
            mariusjopenM
            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
              K
              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
                mariusjopenM
                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
                  A
                  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
                    mariusjopenM
                    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

                    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                    With your input, this post could be even better 💗

                    Register Login
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    Online Users
                    I
                    itsbadjujuju
                    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