Archived topic
Blog and Blog post layout - cont.
5 replies · Started by Pietro on April 1, 2021
Hi there,
I have still some little problem of tuning of my blog page and the post page.
In the blog page I would like to modify the distance between 1st post summary and the head of the site
In the post the same, in the specific I would like insert space between the picture and the head of the site.
Last, I would like have a tittle of the blog page (i.e. "My Blog").
Is it possible to fix all of topics?
What can I do?
Many thanks in advance for your support.
P
Hi Pietro,
Let's handle one issue at a time.
In the blog page I would like to modify the distance between 1st post summary and the head of the site
The space is coming from a page hero/header element:
https://docs.generatepress.com/article/header-element-overview/
Can you make sure the blog page is excluded in your page heros?
Let me know :)
That's right!
ok there was a "Blog header element", I removed it.
Now, in the blog page there is no space on top and I would like put some space.
P
Sorry your site info is erased as you've marked the topic as resolved.
ok there was a “Blog header element”, I removed it.
Instead of removing that, can you retrieve it from Trash and add <h1>Blog</h1> to the content field?
That should take care of this issue:
Last, I would like have a tittle of the blog page (i.e. “My Blog”).
It's ok!
Now I'm able to manage the space on top in the blog page.
Now, the post page; similar solution (element page hero ...)?
Hi Pietro,
You could try this CSS to give single post a top margin:
.single-post #content {
margin-top: 80px;
}
Let me know :)