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. Bug Reports
  3. CSS Fixed Element affects other elements in the Gridder

CSS Fixed Element affects other elements in the Gridder

Scheduled Pinned Locked Moved Bug Reports
7 Posts 2 Posters 440 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.
  • P Offline
    P Offline
    Paul_Moxie
    wrote on last edited by
    #1

    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
    0
    • mariusjopenM Offline
      mariusjopenM Offline
      mariusjopen
      Global Moderator
      wrote on last edited by
      #2

      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
      0
      • P Offline
        P Offline
        Paul_Moxie
        wrote on last edited by
        #3

        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
        0
        • mariusjopenM Offline
          mariusjopenM Offline
          mariusjopen
          Global Moderator
          wrote on last edited by
          #4

          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
          0
          • P Offline
            P Offline
            Paul_Moxie
            wrote on last edited by
            #5

            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
            0
            • mariusjopenM Offline
              mariusjopenM Offline
              mariusjopen
              Global Moderator
              wrote on last edited by
              #6

              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
              0
              • P Offline
                P Offline
                Paul_Moxie
                wrote on last edited by
                #7

                We figured it out! Thank you :)

                Greets, Paul

                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