bootswatch icon indicating copy to clipboard operation
bootswatch copied to clipboard

how to properly space content below a navbar

Open tacman opened this issue 2 years ago • 1 comments

I love the theme options, thanks for releasing this!

Is there a class to apply to the body or container to properly space the main page content below the navbar? For example, with materia:

image

And with sandstone

image

In both cases the content is too high, I'm guessing there's a class somewhere to determine the margins.

Your example page for each theme has all the navbars in a block, by chance are there example pages with a navbar at the top of the page that I can use to see how to properly setup the body and container?

tacman avatar Nov 16 '23 16:11 tacman

If I remove the fixed-top class in navar, it works as expected. Am I missing something for setting fixed-top css?

I changed the class to sticky-top and it seems to be working for me.

image

tacman avatar Nov 16 '23 16:11 tacman