WebSite X5Help Center

 
P. S
P. S
User

Blog padding  en

Autor: P. S
Visited 513, Followers 1, Udostępniony 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.

Posted on the
1 ODPOWIEDZI - 1 PRAWIDłOWA ODPOWIEDź
Daniel W.
Daniel W.
User
Najlepszy Użytkownik miesiąca DENajlepszy Użytkownik miesiąca EN

See this post in German with CSS code

>> https://helpcenter.websitex5.com/pl/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.

Czytaj więcej
Posted on the from Daniel W.