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. Sticky not working

Sticky not working

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

    Sticky elements are not working...

    "Sticky 1" and "Sticky 2" have the sticky functionality applied, but they are not reacting. Is it a bug, or am I not setting it right?

    https://alvarodoze.com/version_trial_3-0/?preview_id=482&preview_nonce=f62920bd17&preview=true

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

      Hey, I can't preview this page because I need to be logged in as an admin to preview it. Can you just publish it, and then I can take a look?

      1 Reply Last reply
      0
      • alvarodozeA Offline
        alvarodozeA Offline
        alvarodoze
        wrote on last edited by
        #3

        Sorry, here: http://alvarodoze.com/version_trial_3-0/

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

          Hey, can you please read the description in the sticky modal? It says that it only works in one row.

          1 Reply Last reply
          0
          • alvarodozeA Offline
            alvarodozeA Offline
            alvarodoze
            wrote on last edited by
            #5

            Hmm, I only defined it in the ‘Sticky 1’ component and it still not working. Also, are you saying I can’t have multiple sticky components on the page if they’re in different rows?

            Thanks!

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

              You have your sticky text in a row right now. Let's say that text is on the left side of the row. Now, if you put a portrait image to the right side and make it a little bigger, that creates free space underneath the sticky text because the row gets enlarged. Of course, the sticky text has to be aligned to the top inside the row.

              Now, if you scroll down, that sticky text will be sticky within this row.

              So if you would for example want to have a sticky text on the left side and then a lot of content on the right side, you can use a stack element and put lots of images above one another inside the stack element.

              Or you could also instead just have one row where your sticky things will be inside. Right click an empty part of the row and choose "Set HTML class and ID". For class, enter:

              sticky-row
              

              then Enter this css in "lay options" -> "custom css & html" -> "custom css for desktop":

              .sticky-row{
                  position: sticky;
                  top: 0;
                  z-index: 99;
              }
              
              1 Reply Last reply
              1
              • alvarodozeA Offline
                alvarodozeA Offline
                alvarodoze
                wrote on last edited by
                #7

                Okey.. now I understand. Thank you so much for clarifying. <3

                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
                StridexS
                Stridex
                FastNangF
                FastNang
                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