WebSite X5Help Center

 
P. S
P. S
User

Blog padding  en

Auteur : P. S
Visité 1068, Followers 1, Partagé 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.

Posté le
1 RéPONSES - 1 CORRECT
Daniel W.
Daniel W.
User
Meilleur utilisateur du mois EN

See this post in German with CSS code

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

Lire plus
Posté le de Daniel W.