• Hi there- I added a 5px border around my pages. This looks really nice on everything but the blog entries, where the border is right up against the text. I would like to add padding to my posts, but don’t know enough about the WordPress page structure to do so without risking messing something up!

    I’ve also noticed that when I visit my site on a mobile device, the borders are too close as well. Any insights?

    I would really appreciate the help!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Those kinds of spacing issues are controlled by CSS in the style.css file. It’s not a big deal to change them (keep a back-up copy before you start messing with it) — and you can use Firebug to figure out which CSS code to change.

    If you want specific help, you must post a link to your site so someone can see the actual code.

    Thread Starter allieliz

    (@allieliz)

    Shoot, duh! Here’s the link to my site, blog post that needs fixing is the front page. The look with the border that I DO like can be seen on the rest of the pages, such as ‘About.’

    Thank you for your response!

    https://www.allielizphotography.com

    This CSS should do it — on line 706:

    .hentry, .no-results {
        border-bottom: 1px solid #DDDDDD;
        margin: 0 0 1.625em;
        position: relative;
    }

    change the padding to how you want it to look.

    Thread Starter allieliz

    (@allieliz)

    Works like a charm! Thank you so much for your help ??

    Edit: I had asked another question but it seems that I figured it out for now!

    Hi WPyogi,

    Can you please help me to adjust the padding for my post.

    I want to increase the padding of my post from the sidebar on the right side for better readability.

    My blog link https://moneyctl.com

    Thanks in advance.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Adding padding to blog posts’ is closed to new replies.