WebSite X5Help Center

 
P. S
P. S
User

Blog padding  en

Автор: P. S
Просмотрено 1131, Подписчики 1, Размещенный 0  

When i add a blog to a site, i can't see a way to add padding to the top or bottom of the blog page - my main items page start at the very top, in the same way, when i view an individual blog post, the want to add padding to the top and maybe the bottom.

If no setting, is it possible to add code to do this on the special pages?

Thank you.

Размещено
1 Ответы - 1 Корректно
Daniel W.
Daniel W.
User

See this post in German with CSS code

>> https://helpcenter.websitex5.com/ru/post/260910

I adjusted the code for the top and bottom spacing.

----- WebSite X5 -----

3 Sitemap > Blog: Main Page > Properties / Advanced

Custom code:

Before the </head> tag

<style>
#imBlogContent, #imBlogSidebar {
padding-top: 140px !important;
padding-bottom: 140px !important;
}
</style>

-----------------------

If necessary, adjust the values ​​to 140px.

Читать больше
Размещено От Daniel W.