WordPress.org

Ready to get started?Download WordPress

Forums

Adding Padding to Posts (3 posts)

  1. thomasjmoore
    Member
    Posted 1 year ago #

    Hey all, I'm trying to simply add some padding to my posts on the right hand side. Whenever I change #content .posts to add padding, it expands my post white space to the right (so it shoots out of the templated space), instead of forcing the words in (and to the left).

    Can someone please help me? I also tried using the margin command but that didn't work either.

    Website found here:

    http://www.thebattlenow.com/

    Thanks!

  2. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Try using Firefox with the Firebug add-on for this kind of CSS work.
    http://getfirebug.com/

  3. kjodle
    Member
    Posted 1 year ago #

    Whenever I change #content .posts to add padding, it expands my post white space to the right (so it shoots out of the templated space), instead of forcing the words in (and to the left).

    This is because you do not understand how the CSS box-model works. Google that, and use the Firebug addon Esmi suggested, and it's a piece of cake.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags