WordPress.org

Support

Support » Plugins and Hacks » Hacks » Add line break and clear:both after post – which template?

Add line break and clear:both after post – which template?

  • Hi All,

    I’m wanting to add a line break and a clear:both style at the end of my blog posts in order to force ShareThis below all content.

    Currently I’m hand-coding:
    <br style="clear: both;" />
    after every post.

    How do I automate this? I tried adding it to index.php and page.php in the places I thought were the post ends but that didn’t work.

    Thanks much.

    Panzo

Viewing 1 replies (of 1 total)
  • In your themes/yourtheme/
    Style.css

    .post{
    	margin-bottom: 15px;
    	display: block;
    	clear: both;
    	}

    index.php
    add your <br> tag there if you cant do a border bottom or something on your .post class….

Viewing 1 replies (of 1 total)
  • The topic ‘Add line break and clear:both after post – which template?’ is closed to new replies.