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. Addons
  3. image hover bring to front

image hover bring to front

Scheduled Pinned Locked Moved Addons
5 Posts 2 Posters 1.5k Views 2 Watching
  • 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.
  • L
    L
    leili
    wrote on last edited by
    #1

    hey, I want to bring the images of the image hover to the foreground (above the menu). I am currently using the image position ‘right background’.

    here’s what I’ve tried so far, but it’s not working:

    .lay-imagehover-on-element {
    z-index: 2147483647 !important;
    }

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

      Hello, I think I was born in to your email.
      In Lay Options → Image Hover Addon.

      Screenshot 2025-05-12 at 08.33.28.png

      If that doesn't work, I will need the link to your website. To the page where this happens.

      L 1 Reply Last reply
      0
      • arminunruhA arminunruh

        Hello, I think I was born in to your email.
        In Lay Options → Image Hover Addon.

        Screenshot 2025-05-12 at 08.33.28.png

        If that doesn't work, I will need the link to your website. To the page where this happens.

        L
        L
        leili
        wrote on last edited by
        #3

        @arminunruh
        oh I'm sorry. unfortunately does not work yet.
        https://www.lilliseiler.de/work/

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

          Oh, you want them above the menu

          Well, due to something called stacking context.
          https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_positioned_layout/Stacking_context

          That's not really doable unless we change some things to have the images and the nav in the same stacking context.

          Enter this css in "lay options" -> "custom css & html" -> "custom css for desktop"

          /*stacking context, so zIndex of hover images are in same context as nav (i think they are with this) */
          .lay-content{
          position: static!important;
          }
          /*put lay nav zindex below */
          .laynav{
          z-index: 0!important;
          }
          /*we still had a opacity 0 navbar that would then be above our menu so hide it*/
          .navbar{
          display: none!important;
          }
          
          L 1 Reply Last reply
          0
          • arminunruhA arminunruh

            Oh, you want them above the menu

            Well, due to something called stacking context.
            https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_positioned_layout/Stacking_context

            That's not really doable unless we change some things to have the images and the nav in the same stacking context.

            Enter this css in "lay options" -> "custom css & html" -> "custom css for desktop"

            /*stacking context, so zIndex of hover images are in same context as nav (i think they are with this) */
            .lay-content{
            position: static!important;
            }
            /*put lay nav zindex below */
            .laynav{
            z-index: 0!important;
            }
            /*we still had a opacity 0 navbar that would then be above our menu so hide it*/
            .navbar{
            display: none!important;
            }
            
            L
            L
            leili
            wrote on last edited by
            #5

            @arminunruh thanks!

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