- This topic has 6 replies, 2 voices, and was last updated 3 years, 5 months ago by
Vladimir.
-
AuthorPosts
-
November 9, 2022 at 8:35 pm #2409204
Vladimir
Hi,
How do I increase space above and below content on blog pages on attention.cc website. Here is the exact area I am talking about (screenshot):
https://ibb.co/grtNdY6 – I want to do this on ALL blog pages on the website. I imported all blogs from other site..over 300 of them. When I click on the text in the block, that “container” doesn’t show up with top margin attribute you showed me on the previous ticket for the homepage, so this is why I can’t figure it out maybe.November 9, 2022 at 9:01 pm #2409216Fernando Customer Support
Hi Vlad,
I see. Well, the Container Block is good to be added manually to all pages and posts to contain the Content you’ll be adding. I checked, and some of your posts indeed doesn’t have a Container Block holding the content. Thus, you can add spacing for the Content of Posts through Appearance > Customize > Layout > Container. Add top and bottom paddings.
However, this will also add spacing to your Front Page and other pages.
In light of this, we’ll like need to use custom CSS.
To clarify, do you only want this spacing for Blog posts? Or, do also want it for Pages except for the front page?
November 9, 2022 at 9:23 pm #2409227Vladimir
Fernando,
I only want this spacing for Blog posts. I do not want CSS you send me to affect front page nor other pages. Thank you for sending CSS code to solve this for blog pages.
November 9, 2022 at 9:51 pm #2409243Fernando Customer Support
I see. Thank you for clarifying.
Can you try adding this CSS in Appearance > Customize > Additional CSS?:
body.single-post .site-content { padding-top: 20px; padding-bottom: 20px; }November 9, 2022 at 9:56 pm #2409247Vladimir
I added it to Simple CSS plugin one of your colleagues told me to download. Your CSS works well for me. You can see it here:
https://attention.cc/meta-i-ufc-omogucavaju-pracenje-mma-borbi-u-virtuelnoj-stvarnosti/If you can just show me how to stretch that red area on the top 100% the width of the page like it was before (pending ticket) we will be done with posts.
Thank you,
Vlad
November 9, 2022 at 10:01 pm #2409252Fernando Customer Support
You’re welcome! I replied in the other topic with regards to the Page Hero.
November 9, 2022 at 10:06 pm #2409256Vladimir
OK. Closing ticket.
-
AuthorPosts
- You must be logged in to reply to this topic.