Lay Theme Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    Z index fixed element

    General Discussion
    4
    7
    264
    Loading More Posts
    • 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
      lortnok last edited by 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 1 Reply Last reply Reply Quote 0
      • L
        lortnok @lortnok last edited by

        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 Reply Quote 0
        • dani
          dani last edited by

          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 Reply Quote 1
          • L
            lortnok @dani last edited by

            @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 Reply Quote 0
            • mariusjopen
              mariusjopen Global Moderator last edited by

              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 Reply Quote 3
              • L
                lortnok @mariusjopen last edited by

                Thank you Marius!

                1 Reply Last reply Reply Quote 0
                • M
                  marcin @mariusjopen last edited by

                  This post is deleted!
                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post
                  Post a link to where the problem is
                  I don't answer or check forum DMs, please just post on the forum.
                  Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com

                  Before you post:

                  Use the Search Feature. Maybe there is already a solution to your issue.

                  1. Update Lay Theme and all Lay Theme Addons
                  2. Disable all Plugins
                  3. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code ", click "Save Changes"
                  4. Now see if your problem solved itself
                  5. Go here, see if your problem is listed here:
                  Troubleshooting

                  When you post:
                  1. Post a link to where the problem is
                  2. If the problem is difficult to explain, post screenshots / link to a video to explain it

                  Thanks!

                  Online Users

                  K
                  W
                  K
                  T

                  Recent Topics

                  • T

                    scroll element transitions mobile

                  • L

                    HTML

                  • M

                    Burger menu in desktop and tablet view

                  • M

                    WPForms Lite not working with new theme update (5.5.5)

                  laytheme.com