Lay Theme Forum

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

    CSS Fixed Element affects other elements in the Gridder

    Bug Reports
    2
    7
    316
    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.
    • P
      Paul_Moxie last edited by

      Hi @arminunruh and @mariusjopen!

      http://www.krone-ci.com/corporate-fashion

      I just tried to give an element a fixed position on the page above (the five dots on the right) by using CSS like this:

      .fixed {
      position: fixed;
      }

      It works well for the Element i wanted to fix, but it also affects the other element in the same row (text block).

      Do you have any idea why this happens?

      Best, Paul

      1 Reply Last reply Reply Quote 0
      • mariusjopen
        mariusjopen Global Moderator last edited by

        Dear @

        maybe you need to be more specific like this:

        .fixed.col.push-0.span-2.align-top  {
            position: fixed;
            z-index: 0;
        }
        

        Or even more be isolating the element with CSS.

        Best!

        Marius

        www.mariusjopen.world

        1 Reply Last reply Reply Quote 0
        • P
          Paul_Moxie last edited by

          Hey @mariusjopen,
          thank you so much for you quick reply!

          Unfortunately the CSS you gave me doesn't seem to work.
          The class still remains 'fixed' right?

          Do you have any other ideas how to do the trick and isolate via CSS?

          Allthebest, Paul

          1 Reply Last reply Reply Quote 0
          • mariusjopen
            mariusjopen Global Moderator last edited by

            Dear @Paul_Moxie
            just to be clear. What exactly you want to move and what not?

            Best!

            Marius

            www.mariusjopen.world

            1 Reply Last reply Reply Quote 0
            • P
              Paul_Moxie last edited by

              Hey @mariusjopen

              I want the dots on the left to be fixed, as if they belonged to the menu.
              Like on this page (where it also affects the text):

              http://www.krone-ci.com/corporate-fashion

              In comparison to this one (where the text is right but the dots move with it):

              http://www.krone-ci.com/textilhandels-consulting

              Thanks for your help :)

              Paul

              1 Reply Last reply Reply Quote 0
              • mariusjopen
                mariusjopen Global Moderator last edited by

                Dear @Paul_Moxie
                you need to give this image a class and then tell wit with CUSTOM CSS to be fixed.

                Hope that helps!

                Best!

                Marius

                www.mariusjopen.world

                1 Reply Last reply Reply Quote 0
                • P
                  Paul_Moxie last edited by

                  We figured it out! Thank you :)

                  Greets, Paul

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post

                  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

                  Recent Topics

                  • N

                    website blank.

                  • S

                    Theme crashed - because of Polylang?

                  • S

                    New fade-in / opacity bug?

                  • A

                    Unable to update lay theme / to login wp admin

                  laytheme.com