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

fixed image position while scrolling

Scheduled Pinned Locked Moved General Discussion
5 Posts 3 Posters 990 Views 1 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.
  • TMBL.WDRT
    TMBL.WDRT
    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
      ffingerF
      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
        TMBL.WDRT
        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
          ffingerF
          ffinger
          wrote on last edited by
          #4

          yeah glad I could help! :) Have fun

          https://www.felixfinger.de

          1 Reply Last reply
          0
          • arminunruhA
            arminunruhA
            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

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            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