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. General Discussion
  3. scrolling page overlays/panels

scrolling page overlays/panels

Scheduled Pinned Locked Moved General Discussion
10 Posts 2 Posters 105 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.
  • G Offline
    G Offline
    Glyph
    wrote on last edited by
    #1

    Hi folks does anyone know of a way to make sliding page panels like this website?
    https://bankston.com/au/

    They are sort of like page overlays, but rely on scrolling to reveal themselves.

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

      can u try this:
      right click every row you want to use this effect for
      for every row then click "use browser height for row height"

      also for every row click "set html class and id"

      for html class enter:
      sticky-row

      also, right click every one of these rows and choose a row background color

      add this in:
      lay options -> custom css & html -> custom css for desktop

      .sticky-row{
      position: sticky!important;
      top: 0!important;
      }
      

      does that work?
      can u do my steps and then post the link here so i can see how it looks?

      1 Reply Last reply
      0
      • G Offline
        G Offline
        Glyph
        wrote on last edited by
        #3

        Hey armin its not launched yet but I will email you private link.

        1 Reply Last reply
        0
        • G Offline
          G Offline
          Glyph
          wrote on last edited by
          #4

          Armin this actually worked perfectly. Your code is simple. How do I add padding to the top/bottom of these rows now? Right now the content butts right to the edge and needs some breathing room. I have a tried a whole bunch of classes but non worked.

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

            nice!

            seems like you need to right click the texts in your rows, then space top

            Screenshot 2025-07-28 at 10.40.21.png

            1 Reply Last reply
            0
            • G Offline
              G Offline
              Glyph
              wrote on last edited by
              #6

              Is there any way to do this globally with a single class that just ads top and bottom padding to all these rows? For some reason applying padding to the .sticky-row class doesn't do anything

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

                yes, thats because in browser height rows, text elements are position absolute so they can overlap other elements.

                1 Reply Last reply
                0
                • arminunruhA Offline
                  arminunruhA Offline
                  arminunruh
                  Global Moderator
                  wrote on last edited by
                  #8
                  .sticky-row .absolute-position{
                  top: 30px!important;
                  }
                  

                  try this please

                  1 Reply Last reply
                  0
                  • G Offline
                    G Offline
                    Glyph
                    wrote on last edited by Glyph
                    #9

                    FYI I got the row padding to work on this with the following:

                    .sticky-row .absolute-position{
                    padding-top: 50px!important;
                    padding-bottom: 50px!important;
                    }
                    
                    1 Reply Last reply
                    0
                    • arminunruhA Offline
                      arminunruhA Offline
                      arminunruh
                      Global Moderator
                      wrote on last edited by
                      #10

                      ah thats a better way of doing it, very good idea!

                      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
                      A
                      alasdair17
                      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