Define Container in Template (Blank - Container | Header, Footer)

Hello Support

How i can define in the Template (Blank - Container | Header, Footer) Margin and Padding?

I chose the template in WP-Dashboard -> Sites

I would like to define with red arrow marked Marging an Padding, where i find this options to chance?

Thank you a lot for your support

Hello Dani,

Thanks for posting in!

The spacing indicated in the red arrow has a fixed default value when you choose to use the Blank - Container page templates. There aren’t any options or settings that can adjusts those spacing. If you want to reduce or increase those spacing, you will need to add the following CSS code in the X > Theme Options > Global CSS (http://prntscr.com/evui3r)

.page-template-template-blank-1 .site > .x-container.max.width {
    margin-top: 50px;
}

.page-template-template-blank-1 .entry-wrap {
    padding: 80px;
}

Feel free to adjust the top margin and the padding.

Thank you for your answer, this works well but just by the “Home”-Site, sadly not global for all other sites. Is there a possible that this works everywhere?

Thank you for your answer

Hello Dani,

Please update the code to:

.page-template-template-blank-1 .site > .x-container.max.width {
    margin-top: 50px;
}

.page-template-template-blank-1 .entry-wrap,
.page-template-default .entry-wrap {
    padding: 80px;
}

Hope this helps.

Hello Support

Thank you a lot for your answer, we are one step further, the padding works now everywher, the margin-top still just at home.

Do you know how to fix this?

Thanx a lot!

Hi,

That’s because your other pages are using a different template.

To make it work in all pages, please add the code below in Theme Options > CSS

.x-container.offset {
     margin-top:90px;
}

Hope that helps

Thanks a lot! Now every page works well.

You’re most welcome!

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