Support » Themes and Templates » Adding Padding to Posts

  • 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!

Viewing 2 replies - 1 through 2 (of 2 total)
  • esmi

    (@esmi)

    Forum Moderator

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

    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Adding Padding to Posts’ is closed to new replies.