Remove padding above layer slider

Hi,

The support site seems to be down at the moment, but I have a question. I have a layer slider at the top of a page, how do I remove the padding above the layer slider, between the slider and the nav bar? And also to remove the padding beneath the layer slider.

Thanks a million!

Hey Billy,

Can you send us a link to the site that you’re working on? That way we can offer you a tailored response.

Thanks!

Sure, it’s www.lovelivinglong.com

Hello Billy,

Thanks for sharing website URL. Please add following CSS to remove spacing between slider and navigation bar:

.x-text.ls-direction-fix.ls-overflow-visible p:first-child {
    display: none;
}

Thanks.

Hi Guys,

Thanks a million for sending on that code. It works great on the home page, but not on all the other pages (which all have layer slider at the top of the page). Would you have some CSS that removes the padding above the slider globally?

Thanks a million,

billy.

Hi There,

Please also add this CSS:

.page-template #x-section-1 {
    padding-top: 0 !important;
}

Hope it helps :slight_smile:

It worked a treat! Thank you so much!

You are most welcome. :slight_smile:

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.