Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

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

first-time

Started by Daniel Wrightson 7 years ago · 0 replies · 804 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 complanar, 2 weeks ago
6 364 2 weeks ago
Plugins · by BenLaKnet, 2 weeks ago
1 182 2 weeks ago
Plugins · by complanar, 1 month ago
2 463 4 weeks ago
Plugins · by Vladimir Novak, 2 months ago
3 748 2 months ago
Plugins · by Mathieu Lecouturier, 2 months ago
3 585 2 months ago