Hello, i have a header build for me. The header is a bit large and now party covers post articles. How can i set a standard margin or padding above post’s?
Thanks!
This is the site : https://jittysamsterdam.com/een-gesprek-met-angela/
Hello, i have a header build for me. The header is a bit large and now party covers post articles. How can i set a standard margin or padding above post’s?
Thanks!
This is the site : https://jittysamsterdam.com/een-gesprek-met-angela/
Hi @RPronk,
Thank you for writing in, please add this to Theme Options > CSS
.single-post .x-container.offset {
margin-top: calc(150px + 40px);
}
The 150px is to offset the height of the header, the 40px is the actual margin of header and content container.
Hope it helps,
Cheers!
Hello, it seems to work partly. First the sidebar seems to have a different offset. Second, if i click a category the offset does not function anymore.
Example: https://jittysamsterdam.com/category/jittys-fans/
Thanks for any help
Hi @RPronk,
You have this somewhere on your Theme Options > CSS
.x-main {
margin-top: 90px;
}
That adds a top margin on your main content, resulting for the main content and sidebar not aligned. Please find that CSS block and remove it.
Update the CSS code I’ve provided to this:
.archive .x-container.offset,
.single-post .x-container.offset {
margin-top: calc(150px + 40px);
}
So it will also apply to the Category (archive) pages.
Hope it helps,
Cheers!
Ok got it, thanks!
You’re welcome!
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.