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. Hide certain projects from mobile menu...

Hide certain projects from mobile menu...

Scheduled Pinned Locked Moved General Discussion
6 Posts 3 Posters 530 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.
  • I Offline
    I Offline
    Ingi
    wrote on last edited by
    #1

    Hæ everybody,
    I've been trying to hide certain projects [that are empty custom links in dropdown menu on desktop version] from the mobile version. I know this should be simple, but I've tried all sorts of CSS and nothing seems to work. Not good with CSS at all... also have searched all threads here for a solution.

    Could anybody please help me out?

    1 Reply Last reply
    0
    • I Offline
      I Offline
      Ingi
      wrote on last edited by Ingi
      #2

      Oh one more thing — "Behaviour on Mobile Devices" is set to "Do not show mouseover state" but the site works like "Show mouseover state on tap, tap again to enter project"... Don't know why this is not working, might be a bug.

      R 1 Reply Last reply
      0
      • I Ingi

        Oh one more thing — "Behaviour on Mobile Devices" is set to "Do not show mouseover state" but the site works like "Show mouseover state on tap, tap again to enter project"... Don't know why this is not working, might be a bug.

        R Offline
        R Offline
        robsdonatini
        wrote on last edited by
        #3

        @ingi I'm interested as well, please share news if you find a solution.

        I tried to give the menu page I want to make disappear a class and then style like
        in the costum css for mobile

        .classname {display: none;}

        nothing changed :|

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

          Dear @Ingi

          try this custom CSS code:

          .menu-item-has-children > a:first-child {
              display: none !important;
          }
          

          I hope that works for you.

          We will inspect the problem with the tapping.

          Best!

          Marius

          www.mariusjopen.world

          1 Reply Last reply
          0
          • I Offline
            I Offline
            Ingi
            wrote on last edited by
            #5

            Legend!!!

            Thank's so much. Also, that mobile behaviour thing is working now!

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

              Great! Happy to hear!

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