How to offset above masthead layerslider for navbar to show?

Hi there.

I know revolution slider has an offset option, so that fullscreen above masthead sliders allow for the navbar to show.

Layerslider does not have that function, so i tried this: https://theme.co/apex/forums/topic/how-to-make-menubar-show-at-bottom-of-above-mastehead-layerslider/

Unfortunately that doesn’t help. Can you advise?

Hi There,

Thank you for writing in, you can add the custom CSS below on the page CSS or Theme Options > CSS, just replace the $$px with the sum of your Bars’ height.

.x-slider-container.above {
	min-height: calc(100vh - $$px);
}

This will only work on the slider that is set above the masthead. Not with the slider inside the header.

Hope it helps,
Cheers!

1 Like