Hey there,
I was wondering if it’s easy possible to use the script of the sticky header feature to create a sticky sidebar?
Right now I use postiton: sticky; but it only works if I set:
.offside-js--init {
overflow-x: visible;
}
I thought it might be a neat solution to just use the already loaded sticky header script.
Is there an easy way to make the script work for my sidebar? Maybe I’ve to add a class or define something in a extra js file ?
Ok I understand. To get it work I need to set overflow: visible for the .offside-js–init, which only appears when sticky header is enabled. Therefore I’m not quit sure if there are any conflicts/ issues I don’t see right now.
The other thing is the missing browser support for older Internet Explorers. A JS solution might work better for them.
The Website is just on a localhost, so no link sorry.