Slider exactly below navigation bar


This is my first time creating a topic. I hope I’ll put my question in a understandable way :slight_smile:

I am doing my website using Sparkling theme, which btw. is wonderful.
This is my webpage:

I want my slider exactly below the navigation bar. To one pixel of accuracy. That is because I dont want to have any part of my beautiful slider images covered with navigation bar.

I have done this by writing this in a child theme:
#content {
margin-top: 78px;

But the problem occurs in some mobile devices, where the navigation bar gets broken into two or even three rows. That makes the navigation bar much thicker and it covers my slider. Please look at the attached screen-shots. I want slider and all the rest of content to move down if the navigation bar gets thicker.

I’d appreciate your advice! Thanks!

Hi @janez,

I hope you are well today and thank you for your question.

You can try achieving this by using the attached small plugin specially developed for you that contains some custom code.

Best Regards,