Viewing 5 replies - 1 through 5 (of 5 total)
  • Hey there vanityleaguemag,

    How are doing doing today?

    If you’re looking to add some space on the content only on paragraphs you can do that with some custom CSS. Please try adding the following CSS code in the style.css file of your child theme or if your theme doesn’t have custom CSS tab add it in your site using the following plugin:

    http://wordpress.org/plugins/simple-custom-css

    article .entry-content p {
        padding: 0 5px;
    }

    This should add 5px left/right padding on paragraphs in your content, you can increase the value if you want to add more space there.

    Hope this helps 🙂

    Cheers,
    Bojan

    Thread Starter vanityleaguemag

    (@vanityleaguemag)

    Hi there Bojan

    I’m very well!

    Thank you so much for your reply! The code worked, but only for the text. How should I alter it to include everything in the content area (headings, photos, embeds etc).

    Kindest regards,

    Nick

    Hey again Nick,

    Sorry I assumed you wanted this only for the text as you want text body smaller.

    Please try adding this instead:

    .single-post main.content {
        padding: 0 30px;
    }

    You can play with the second numeric value to add/remove space on the left/right of the content area.

    Hope this helps 🙂

    Cheers,
    Bojan

    Thread Starter vanityleaguemag

    (@vanityleaguemag)

    Hi Bojan

    Thank you so much! I really do appreciate your effort and help. It worked 🙂

    Just if you had some more time, is there a way to keep the featured image area the same size?

    Sincerely,
    Nick

    Hey again,

    Sure thing 🙂

    Replace the code above with this one:

    .single-post .entry-content {
        padding: 0 100px;
    }

    This should reduce the width of content below featured image.

    Hope this helps and have a nice day!

    Cheers,
    Bojan

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How do I make the text body thinner?’ is closed to new replies.