Wednesday, 15 October 2014

How To StyleSub Headings In Blogger Using CSS

 css style sub headings
You must have noticed the style of sub topics in my post, it is usually surrounded by colour full dotted lines. This gives your post more professional look or makes it easy for you readers to navigate through certain topic in your post. In this tutorial i will teach you to add css code to style subheadings in blogger blog posts.

How To Add CSS Style Sub Headings ?

1. Go to Blogger > Template  > Edit HTML
2. Now search for ]]></b:skin>
3. Paste the following code above ]]></b:skin>
/*mybloggersworld.com*/
.post h3{
color:#666;
border-top:1px dotted #666;
border-bottom:1px dotted #666;
font-size: 18px;
padding-top:2px;
padding-bottom:2px;
}
 .post h4:hover{
border-top:1px dotted #0080ff;
border-bottom:1px dotted #0080ff;
/*mybloggersworld.com*/
background-color: #289728;
color:#666;
padding-top:2px;
padding-bottom:2px;
}
4. Save the template and you are done.

How To Use This CSS Style Headings In Blog Post ?

1. Open a new blog post and type your sub heading
2. Now select Minor Heading from drop down by clicking on the icon as shown below.
css style blogger heading
3. Another way to do this is to surround the text between h3 tag as shown below.
<h3> Blogger Sub Heading </h3>

0 comments:

Post a Comment