Archived topic
how to add space below menu and above content?
9 replies · Started by Matthew on January 20, 2020
Hi there,
The content padding should work for that:
https://docs.generatepress.com/article/content-padding/
Maybe we should try to solve this issue here?
https://generatepress.com/forums/topic/padding-not-working-on-post-page-even-after-selecting-page-builder-containerdef/#post-1138373
i do not want to change the padding for the entire site container. Only the single page post.
how to set padding only for POSTS and not universally for the entire site?
Try this CSS:
body.single .inside-article {
padding-top: 20px;
}
Adding CSS: https://docs.generatepress.com/article/adding-css/
no that css code does nothing
Can you link me to the site in question with the CSS added?
Thanks!
Try this.
body.single .site-content {
padding-top: 20px;
}
If this doesn't work, it's likely that you are missing all the default body classes which needs to be resolved first:
https://generatepress.com/forums/topic/padding-not-working-on-post-page-even-after-selecting-page-builder-containerdef/#post-1138373
resolved thanks!
No problem :)