Mommy Hacks #12 - Remove Post Footers from Home Page

Unknown // Saturday 8 June 2013


As discussed in last week's post, jump breaks are great because they allow you to display snippets of lots of blog posts on your home page.

Unfortunately, by default they display the footer for each post which really clutters up your home page.

The good news is, with just a few lines of code you can configure your blog so footers only display on actual posts and not on the home page and you can put something pretty in their place ...


Remove Post Footers from Home page

We are now going to edit your blog template, so if you haven't already please back up!

1. Copy the code below ...

<b:if cond='data:blog.pageType != "item"'>
<style type='text/css'>
.post-footer {display:none;}
</style>
</b:if>

Now the bit where you MUST be careful.

2. Click on the Template link and then on the Edit HTML button highlighted below.





3. Now click carefully inside the scroll box displayed and press Ctrl-F on your keyboard. A search field will be displayed at the top right of the scroll box.

Enter the following code into the search field and press enter: ]]></b:skin>

The code you searched for will be highlighted as shown below.


4. Paste the code you copied just below the highlighted code as shown below and then click Save Template.




5. Now view your blog - the post footers should not be displayed on the home page but they will still be on each individual post.

6. Now you are ready to add a little bit of style to delineate between each post.

Style a Simple Divider Between Posts

1. Click inside the scroll-box, press Ctrl-F on your keyboard again and in the search field enter: .post {



2. You will see after .post there is an open curly bracket, some code and then a closed curly bracket.

3. Paste the following code just before the closed curly bracket

padding-bottom: 50px;
border-bottom: 2px dotted black; 


4. Now click on Save Template and view your blog - a dotted line will be displayed underneath each post.

5. If you want to make the line thicker increase the number next to px to e.g. 3px

6. If you want to change the line style replace the value dotted with solid or dashed

7. If you want to change the colour of the line replace black with any of the colours in this list or if you know the hex number of the colour you want replace black with e.g. #DC143C

8. If you want more space around the line increase the padding-bottom value to e.g. 60px 

9. Once you're happy with the changes click on Save Template and you're all done you should have the style  you want.


Follow Me on Pinterest

 If you found this post useful, you might also enjoy my other mommy hacks and for loads of great blogging tips from load of great bloggers check out The Mommy Archive ...

 Pinterest traffic Link party success Affiliate ads

Mommy Hacks Newsletter






This post has been shared at ... Sugar Bee Crafts,  Home Stories A to Z,  The Shabby Creek Cottage,  Joyful Homemaking,  Serenity NowThe Gunny SackCrystal and CoGinger Snap Crafts, Trendy Tree HouseDomesblissityLadybird LnNot Just a HousewifeClever ChicksBe Different Act NormalSumos Sweet StuffKeeping It SimpleLines AcrossGet Your Crafts OnA Bowlful of LemonsClean and Scentsible,  Delightful OrderWe Are That FamilyBy Stephanie LynnWhipperberry,  More the Merrier Monday,  I Should Be Mopping the Floor,  Carolyn's HomeworkShabby Creek Cottage36th AvenueSix Sisters Stuff52 MantelsMy Uncommon Slice of SuburbiaElizabeth and CoWhatever GoesFinding FabulousThe Thrifty HomeSkip to My LouFive Little ChefsFluster MusterCreative PrincessDIY Crafty ProjectsThe DIY'ersNaturally Living MammaTumbleweed Contessa,Give Me the GoodsMartha Mondays

0 comments