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. Z index fixed element

Z index fixed element

Scheduled Pinned Locked Moved General Discussion
9 Posts 6 Posters 566 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.
  • L Offline
    L Offline
    lortnok
    wrote on last edited by lortnok
    #1

    I have a fixed element (text) positioned with the grider as following:

    .fixed-element{
    position: fixed;
    top: 1%;
    right: 2%;
    z-index: 5;
    }
    and this one works perfectly

    but I also have a logo on the other side (image) and that one is always behind the project thumbnails doesn't matter how I set the Z index. (The selector is correct since the logo is fixed)

    .fixedlogo{
    position: fixed;
    top: 2%;
    right: 91%;
    z-index: 1000000;
    }
    What could be wrong?

    L 1 Reply Last reply
    0
    • L lortnok

      I have a fixed element (text) positioned with the grider as following:

      .fixed-element{
      position: fixed;
      top: 1%;
      right: 2%;
      z-index: 5;
      }
      and this one works perfectly

      but I also have a logo on the other side (image) and that one is always behind the project thumbnails doesn't matter how I set the Z index. (The selector is correct since the logo is fixed)

      .fixedlogo{
      position: fixed;
      top: 2%;
      right: 91%;
      z-index: 1000000;
      }
      What could be wrong?

      L Offline
      L Offline
      lortnok
      wrote on last edited by
      #2

      I guess the problem is that it is a child element?, I tried to find a way to fix it by inspecting but I still have no clue how to fix it. Please let me know if you have any idea, thanks a lot!

      1 Reply Last reply
      0
      • daniD Offline
        daniD Offline
        dani
        wrote on last edited by
        #3

        adding 0's to z-index doesn't help ;)

        i've had this issue and solved it before,

        send the site url, with the code. i'll take a look.

        https://danielcampbell.ca

        L 1 Reply Last reply
        1
        • daniD dani

          adding 0's to z-index doesn't help ;)

          i've had this issue and solved it before,

          send the site url, with the code. i'll take a look.

          L Offline
          L Offline
          lortnok
          wrote on last edited by
          #4

          @dani thanks a lot, I solved it. At the end I created custom html and css for those elements. There was a topic also about more or less the same issue and what I found out is with the gridder you basically cannot use Z-index unfortunately. But if you have a solution for that let me know :)

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

            Dear @lortnok
            we will write it down for the future to use z-index in the gridder.

            Best!

            Marius

            www.mariusjopen.world

            L M 2 Replies Last reply
            3
            • mariusjopenM mariusjopen

              Dear @lortnok
              we will write it down for the future to use z-index in the gridder.

              Best!

              Marius

              L Offline
              L Offline
              lortnok
              wrote on last edited by
              #6

              Thank you Marius!

              1 Reply Last reply
              0
              • mariusjopenM mariusjopen

                Dear @lortnok
                we will write it down for the future to use z-index in the gridder.

                Best!

                Marius

                M Offline
                M Offline
                marcin
                wrote on last edited by
                #7
                This post is deleted!
                1 Reply Last reply
                0
                • M Offline
                  M Offline
                  mmvvooll
                  wrote on last edited by
                  #8

                  hello, same problem here
                  the z index is in 10px and i want to be in 0
                  but dont know how to change it on the wordpress or in the css
                  could you help me? thanks

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

                    hey i will release an update later today now that will make position fixed work again

                    can u update and then see if it works?
                    if not can you post the link here and i will take a look

                    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