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 109 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 May 24, 2024, 8:59 AM 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
    • A Offline
      A Offline
      arminunruh
      Global Moderator
      wrote on May 27, 2024, 1:30 PM 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 May 27, 2024, 1:50 PM 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 Jun 3, 2024, 8:40 AM last edited by
          #4

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

          1 Reply Last reply
          0
          • A Offline
            A Offline
            arminunruh
            Global Moderator
            wrote on Jun 3, 2024, 3:06 PM 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 Jun 3, 2024, 5:10 PM 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
              • A Offline
                A Offline
                arminunruh
                Global Moderator
                wrote on Jun 6, 2024, 2:12 PM 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

                6/7

                Jun 3, 2024, 5:10 PM


                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.
                6 out of 7
                • First post
                  6/7
                  Last post
                0
                • Recent
                • Tags
                • Popular
                • Users
                • Search