LIVE DEMO
You can see the live demo to my own website homepage.How To Add CSS Read More Button for Homepage In Blogger.
STEP - 1 GO to Blogger > Templates > Edit HTML
STEP - 2 Search For
]]></b:skin>
STEP - 3 Now add the below Code just above this ]]></b:skin>
.coderambo_read a:hover,{
background: #111;
border: 1px solid #111;
color: #fff;
}
.coderambo_read a {
background: #ca2129;
padding: 9px 25px;
color: #fff;
font-family: 'American Typewriter';
border-radius: 2px;
display: inline-block;
border: 1px solid #BE1212;
transition: all .3s ease-in-out;
font-size: 22px;
text-decoration: none;
margin-top: 12px;
}
STEP - 4 Search For
<data:post.body/>NOTICE: You will see similar code two to three place but you have to be careful about the right code, don’t worry it is easy!
STEP - 5 Just below that you will see Read more >> or <a expr:href='data:post.url'>
<b:if cond='data:blog.pageType != "static_page"'>
<b:if cond='data:blog.pageType != "item"'>
<p><a expr:href='data:post.url'>Read More</a></p>
</b:if>
</b:if>
Or you May see this Code or similar code like this.
<b:if cond='data:blog.pageType != "item"'>STEP - 6 In above code simply replace the highlighted code with this code.
<a expr:href='data:post.url'>
<div style="text-align: right;">< img src=http://xyz.com border="0"/></div></a>
</b:if>
<div class="coderambo_read">
<a expr:href='data:post.url'>Read More</a>
</div>
STEP - 7 Now Just Save Template.
Now you are all done !! hope this work for you, you can easily make changes the CSS colors, font style, font size and other CSS code as per your requirement. Hope you have understood how we can add Read More button for homepage in Blogger don’t feel shy to ask anything where ever you are facing problem ask on the comment section.
0 comments:
Post a Comment