Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Overflow:hidden blocks sticky behaviour (in css of slider plugin)

first-time

Started by Daniel Wrightson 7 years ago · 0 replies · 913 views
7 years ago

first post - forgive errors. I have been struggling with why my sticky submenus were not 'sticking'. I always build simple templates for behaviour before I add them to a template so I knew all my css was fine.

It turned out that the css from the slider plugin had an overflow:hidden applied to html - and that will block any sticky behaviour. The slider plugin was in there because I was building on an inheritance of antimatter. I thought I'd post this because it drove me up the wall but was a simple fix once I'd found it.

Suggested topics

Topic Participants Replies Views Activity
Plugins · by DrPen, 1 month ago
2 478 1 month ago
Plugins · by renedebaaij, 2 months ago
1 350 1 month ago
Plugins · by Thomas, 1 month ago
1 375 1 month ago
Plugins · by complanar, 2 months ago
6 699 2 months ago
Plugins · by BenLaKnet, 2 months ago
1 642 2 months ago