make block or element sticky during scrolling

gieri
34 Posts
gieri posted this 04 December 2022
Ask a Question

Hello,

is it possible to set a block or an element stiky until to the scrolling to the next block?

Example:
I like to fix a price box (or block) as long the featuer list scrolls to the end.
If the end of the feature list is reached, the whole site should scroll normal further.

Hopefully this screen describes it a bit :-)

enter link description here

Hello, is it possible to set a block or an element stiky until to the scrolling to the next block? Example: I like to fix a price box (or block) as long the featuer list scrolls to the end. If the end of the feature list is reached, the whole site should scroll normal further. Hopefully this screen describes it a bit :-) [enter link description here][1] [1]: https://gieri.nimbusweb.me/share/8014020/3dznnicq84ydm9sgyxm7
Vote to pay developers attention to this features or issue.
3 Replies
Order By: Standard | Newest
jack.from.canada
118 Posts
jack.from.canada posted this 04 December 2022

There is a WordPress plugin (Sticky Menu & Sticky Header) that provides this functionality, so if it is your intent to create a website theme with Nicepage, you could implement your requirements with that plugin once you install your theme.

And if it is not your intent to create a WordPress theme, maybe the author of Nicepage can examine the code in this WordPress plugin (it's on GitHub) and use it to create the feature for Nicepage.

There is a WordPress plugin (Sticky Menu & Sticky Header) that provides this functionality, so if it is your intent to create a website theme with Nicepage, you could implement your requirements with that plugin once you install your theme. And if it is not your intent to create a WordPress theme, maybe the author of Nicepage can examine the code in this WordPress plugin (it's on GitHub) and use it to create the feature for Nicepage.
gieri
34 Posts
gieri posted this 04 December 2022

hi Jack,

thanks for your reply.
I don´t use it on WP installations. Mostly I export the HTML and use it on my own hosting.

Cheers

hi Jack, thanks for your reply. I don´t use it on WP installations. Mostly I export the HTML and use it on my own hosting. Cheers
Support Team
Support Team posted this 05 December 2022

Hi Markus,

There is no such option in Nicepage but you can try to achieve this using some custom CSS code, make the table as a separate block, set a fixed height for it and overflow-y:scroll option. Then it should be possible to scroll the table.

...................................................
Sincerely,
Hella
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Hi Markus, There is no such option in Nicepage but you can try to achieve this using some custom CSS code, make the table as a separate block, set a fixed height for it and overflow-y:scroll option. Then it should be possible to scroll the table. ................................................... Sincerely, Hella Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
You must log in or register to leave comments