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

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Plugins

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

first-time

Started by Daniel Wrightson 7 years ago · 0 replies · 585 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 Rene, 1 week ago
2 43 1 week ago
Plugins · by Xavier, 4 weeks ago
2 53 4 weeks ago
Plugins · by Luka Prinčič, 7 years ago
3 1179 1 month ago
Plugins · by Sebastian van de Meer, 1 month ago
1 48 1 month ago
Plugins · by PIERROT Alain, 2 months ago
3 72 2 months ago