User Rating: 0 / 5

Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive
 

{Sticky selectors="selector selector ..." /}

Makes an object sticky (fixed) on his place.


Params for Sticky:

selectors: The selector for to make sticky, space separeted.

How to use it:

{Sticky selectors=".header"/}
{Sticky sekectors=".header .footer"/}
For CSS you can use the genereated class .fixed_NAME_OF_SELECTOR e.g. .fixed__header .fixed__footer ..

Example:

Scroll down this page and look at the header.


Available for:


Changelog:

2016-06-10

Added CSS, so the sticky element doesn't flow behind other site elements and stays always at top.

Added Error-Warning on missing parameter.