How to add padding to blog page or blog posts?

  • Author
    Posts
  • #58920

    Hi! I’m making a site with the Nirvana template.
    The site is full width and I added padding to the content widgets to improve readability of the text.

    I have a page holding my blog posts and selected the blog page template.
    The only thing is this page doesn’t have any padding so the text is full width too without any padding left and right.
    I would like to add padding to this page too and have tried all sorts of plugins and codes, but I can’t seem to get it working with this template.

    Could you please tell me how i can add passing to my blog page or separate blog posts?

    Thanks in advance!

    #59013
    Zed
    Cryout Creations mastermind

    We’d need and example or sketch of what you are trying to achieve.


    If you like our creations, help us share by rating them on WordPress.org.
    Please check the available documentation and search the forums before starting a topic.
    #59092
    This reply is private.
    #59093

    The image I added is showing about what I mean. I would like to add some padding to the full width post page or the separate blog posts.
    On the other pages I added it to the rows, but I cannot do that on the post page.

    I hope you understand what I mean.

    #59179
    This reply is private.
    #59433
    This reply is private.
    #59671
    Zed
    Cryout Creations mastermind

    Try this CSS
    .single #content, .blog #content { padding: 0 50px; }

    Although the theme already has content spacing options under its Layout section.


    If you like our creations, help us share by rating them on WordPress.org.
    Please check the available documentation and search the forums before starting a topic.
    #59717

    Thank you very much! The CSS worked! I tried the options under the lay-out section, but I didn’t want all the content padded (the colored rows and the top images) so that didn’t work. But this CSS does. Thanks again for your help!

Viewing 8 posts - 1 through 8 (of 8 total)

The topic ‘How to add padding to blog page or blog posts?’ is closed to new replies.