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. remove one menu item from landing page (carousel)

remove one menu item from landing page (carousel)

Scheduled Pinned Locked Moved General Discussion
7 Posts 2 Posters 121 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.
  • D Offline
    D Offline
    danny
    wrote on last edited by
    #1

    Hi @arminunruh

    I would like to hide one menu item (menu-item-92) from the landing page (both desktop and mobile).

    I tried different CSS from related topics. Unfortunalty it doesn't work.

    Thanks a lot! Appreciate it!

    https://tiranwillemse.com/fullscreen2/

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

      https://laytheme.com/documentation/custom-css-styling.html#css-based-on-current-page

      read this please

      you dont really have different URLs right u only have one URL and people use the fullscreen slider there?

      .slug-fullscreen2 .menu-item-92{
      display: none!important;
      }
      
      1 Reply Last reply
      0
      • D Offline
        D Offline
        danny
        wrote on last edited by
        #3

        thanks @arminunruh !

        it almost works: only now the menu-item 92 is always hidden. is there a way so it would be only hidden on the landing page?

        yes the website only has one URL and I use the fullscreen slider.

        thanks!

        1 Reply Last reply
        0
        • D Offline
          D Offline
          danny
          wrote on last edited by
          #4

          Hi @arminunruh, did you maybe had time for this? thanks.

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

            hey please read the tutorial link i sent you. when using the correct .slug-* css class, it should only be hidden on that one page that has this slug

            ah but maybe what you mean is not different urls but u mean different fullscreen slider slides?

            so if u want it hidden on the first slide, use this css instead:

            .fp-viewing-0-0 .menu-item-92{
            display: none!important;
            }
            
            1 Reply Last reply
            0
            • D Offline
              D Offline
              danny
              wrote on last edited by
              #6

              hey, exactly it is not different urls (so I couldn't use the tutorial link).

              this css works great. thanks so much @arminunruh.

              it's really great to work with.

              1 Reply Last reply
              1
              • arminunruhA Offline
                arminunruhA Offline
                arminunruh
                Global Moderator
                wrote on last edited by
                #7

                ok im glad i could help you!

                sorry i couldn't help you with the other thing with the other one post u did :O :/

                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