Skip to content
Grav 2.0 is officially stable. Read the announcement →
Plugins

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

first-time

Started by Daniel Wrightson 7 years ago · 0 replies · 710 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 Vladimir Novak, 2 weeks ago
3 291 2 weeks ago
Plugins · by Mathieu Lecouturier, 3 weeks ago
3 277 3 weeks ago
Plugins · by Slebeig, 2 months ago
1 403 2 months ago
Plugins · by Rene, 2 months ago
2 574 2 months ago
Plugins · by Xavier, 3 months ago
2 490 3 months ago