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. Position sticky behaviour confined to specific grid rows

Position sticky behaviour confined to specific grid rows

Scheduled Pinned Locked Moved General Discussion
7 Posts 4 Posters 468 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.
  • C Offline
    C Offline
    cyrus
    wrote on last edited by cyrus
    #1

    Just started playing with Laytheme, wanted to try to make an effect that I have done on other sites which were coded, but proving a bit difficult so asking here. Have checked in the forums but couldn't find a similar query.

    Essentially I would like to make an element in a div (or row) fixed/sticky within that row, so that when a user scrolls through on that row, the while images are scroll as normal and the text stays in a fixed position. I suppose you have seen this before.

    I have setup the premise here: http://indofutures.com/data-garden. The text I would like to make fixed/sticky would be the "Project Details" and the images to the right would scroll as normal.

    This is essentially what I'm trying to do: https://jsfiddle.net/7pcr8fvz/

    If you imagine that my text would be the red element (although not aligned to the top of the div, rather the middle). Any ideas on how to get this done? I've been trying to do it with pure CSS/html but hasn't worked yet.

    Thanks!

    1 Reply Last reply
    0
    • C Offline
      C Offline
      cyrus
      wrote on last edited by
      #2
      This post is deleted!
      1 Reply Last reply
      0
      • mariusjopenM Offline
        mariusjopenM Offline
        mariusjopen
        Global Moderator
        wrote on last edited by
        #3

        Dear @gyoc
        probably you need to use CUSTOM JS to do this?
        Anyone has some ideas?
        Best!
        Marius

        www.mariusjopen.world

        1 Reply Last reply
        0
        • C Offline
          C Offline
          cyrus
          wrote on last edited by
          #4

          No idea at all? This doesn't seem such a difficult functionality outside of Lay, but cannot get it working at all inside of the framework...

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

            Dear @gyoc
            it is probably doable but too much to give you the solution for me here in the forum.
            I think it is worth to ask a developer. Look here… http://laythemeforum.com:4567/topic/5601/laytheme-customisation-services
            Best!
            Marius

            www.mariusjopen.world

            1 Reply Last reply
            0
            • S Offline
              S Offline
              Sophie1000
              wrote on last edited by
              #6

              Hello @mariusjopen
              The problem seems to be specific to laytheme, something with the overflow : hidden that is set by default.
              .
              Do you have an idea of how to change it so it can makes the function "sticky" works with the jQuery function that has been mentioned many times in the forum.

              1 Reply Last reply
              0
              • E Offline
                E Offline
                EliasEliasclick
                wrote on last edited by
                #7

                Hi there,

                Was anybody able to solve the issue?

                Best regards,

                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