x

How do I control top content padding in Dusk 2 theme?

I have another thread going about the padding in the navigation area, so I guess I am having issues with controlling padding in this theme in general.

At some point, I must have been in the right CSS file/section to make this change, but I cannot remember where/how.

This is the site in question: https://censoprano.weebly.com/

In some sections (I lost about 50-100px on top of the content pages, which now cuts this content off.

For example, in this section, which is a Blog, the whole top part is cut off (or rather hiding behind the navigation: https://censoprano.weebly.com/articles--docs

Same here: https://censoprano.weebly.com/contact.html

So what CSS file do these sections have in common, and how do I fix what I must have broken?
 

985 Views
Message 1 of 3
Report
2 REPLIES 2

I think it's this:

.no-header-page .main-wrap .container {
padding-top: 50px;
}

50px isn't enough padding to push the content down below the navigation bar. You'll probably only see it happen on pages using the no-header page type since it includes that class.

977 Views
Message 4 of 3
Report

which CSS file is that code contained in?

curiously, though, that issue was taken care of after I added your SEO header code that you last suggested to me (before the sub-menu positioning fix)...not sure why, but after I added it, the top of those no-header pages was visible again as it did before I messed it up somehow.

go figure 😕

950 Views
Message 4 of 3
Report
This thread has been archived and locked. Please start a new thread if you would like to continue the conversation.