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. Bug Reports
  3. Sticky Class no more working with last update

Sticky Class no more working with last update

Scheduled Pinned Locked Moved Bug Reports
9 Posts 2 Posters 179 Views 2 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.
  • A Offline
    A Offline
    atnels
    wrote last edited by
    #1

    Hey,

    just wondering why my sticky class are not working anymore since I updated to the latest version of LT 11.5.6.

    Can someone help?
    Thanks

    1 Reply Last reply
    0
    • A Offline
      A Offline
      atnels
      wrote last edited by
      #2

      Problem on every Desktop Web Browser.

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

        i need a
        link please

        1 Reply Last reply
        0
        • A Offline
          A Offline
          atnels
          wrote last edited by
          #4

          Hi Armin,
          here's a link to a project page where The project and Client Name are supposed to Stick at the top of the page when scrolling.
          https://index-office.io/s-tool/
          Thanks

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

            grafik.png

            hello you mean this part?

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

              elements are only sticky within their own row.

              grafik.png

              What you could do is just make the row fixed.
              grafik.png

              It's not exactly the same as a sticky row, but what you could also try is add a custom HTML class to the row and then create CSS which makes this row sticky with a position sticky.

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

                and your website just looks absolutely gorgeous. Have a nice day!

                1 Reply Last reply
                0
                • A Offline
                  A Offline
                  atnels
                  wrote last edited by
                  #8

                  Thanks a lot Armin,
                  It's just that I used custom CSS:

                  .sticky {
                  position: sticky;
                  top: 0;
                  }

                  and it was working perfectly fine before the last LT Update.
                  I'm wondering why it's no more working.

                  Cheers and thanks for all the amazing work you do on LayTheme!

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

                    thanks a lot!

                    grafik.png

                    i see you use an id "sticky"

                    but the css you wrote seems to be for a class "sticky"

                    you need to remove the id and write it as a class i think
                    like this

                    grafik.png

                    1 Reply Last reply
                    0
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    We also code custom websites or bespoke Lay features. Drop me a line at info@laytheme.com or check out my work at arminunruh.com.

                    Want to support my work? paypal.me/arminunruh

                    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