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. fixed image position while scrolling

fixed image position while scrolling

Scheduled Pinned Locked Moved General Discussion
5 Posts 3 Posters 342 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.
  • TMBL.WDRT Offline
    TMBL.WDRT Offline
    TMBL.WDR
    wrote on last edited by
    #1

    Hi all! big noob here šŸ¤“
    Im super happy with the features that LayTheme offers, but im struggling with my custom menu:
    https://johanpoezevara.com/

    I didn't have any trouble adding a hover effect with CSS, but when i tried to apply classes that i found on similar topics here, all my attempts to keep my post-it notes in a fixed position at the top of my page (like the site title) have been unsuccessful.
    Can someone help me?

    1 Reply Last reply
    0
    • ffingerF Offline
      ffingerF Offline
      ffinger
      wrote on last edited by
      #2

      Hey!
      have you built the navigation in the gridder? If so just give the row that contains the post-it navigation a class or ID (right click "set HTML class and ID") and add to the css something like:

      .example-class {
      position: fixed;
      width: 100%;
      height: auto;
      top: 0;
      }

      Maybe that helps already :)
      Cheers

      https://www.felixfinger.de

      1 Reply Last reply
      1
      • TMBL.WDRT Offline
        TMBL.WDRT Offline
        TMBL.WDR
        wrote on last edited by TMBL.WDR
        #3

        Hell yeah, it's working well, thanks!!
        It didn't come to my mind that we can add a class to the row itself 🄶 just added a z-index line to bring it to the front.
        Thanks again!

        1 Reply Last reply
        1
        • ffingerF Offline
          ffingerF Offline
          ffinger
          wrote on last edited by
          #4

          yeah glad I could help! :) Have fun

          https://www.felixfinger.de

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

            very good!

            you can also do this for a row:

            .example-class {
            position: sticky;
            width: 100%;
            height: auto;
            top: 0;
            }

            its a little similar

            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
            arminunruhA
            arminunruh
            F
            francesco
            L
            lurchifon
            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