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

Z index fixed element

Scheduled Pinned Locked Moved General Discussion
9 Posts 6 Posters 1.7k Views 3 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
    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
      L
      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
        daniD
        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
          L
          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
            mariusjopenM
            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
              L
              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
                M
                marcin
                wrote on last edited by
                #7
                This post is deleted!
                1 Reply Last reply
                0
                • M
                  M
                  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
                    arminunruhA
                    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

                    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