Site logo

Archived topic

Changing z-index value of navigation menu?

2 replies · Started by Killian on April 22, 2019

Viewing posts 1–3 of 3

I am using a map plugin that is covering the menu bar when I scroll up here. To solve this I think I need to increase the z-index value. I tried to do this via customizer - additional CSS. the value in the Theme CSS is 100, so I added:


.main-navigation {
	z-index: 500;
	padding: 0;
	clear: both;
	display: block;
}

.sticky-navigation {
	z-index: 500;
	padding: 0;
	clear: both;
	display: block;
}

(I did both as I'm not sure which one I need to do...).

This doesn't seem to have changed anything. What can I do?

OK, this worked:


z-index: 10000 !important;

Awesome :)

This archived topic is closed to new replies.