-> Add Drop Caps For Blogger Posts
-> Add Drop Caps For Blogger Comments
Big First Letter for your Blogger / Blogspot Posts
Step 1.
- If you are using the old Blogger interface:
- If you are using the new Blogger interface:
Step 2. Search (CTRL + F) for this piece of code:
]]></b:skin>
Step 3. Just above it, add the following:
.capital:first-letter {
float: left;
display: block;
font-family: Times, serif, Georgia;
font-size: 40px;
color: #000000;
margin:0px 5px 0 0;
padding:0 0 0 10px;
}
Customize:
Color - change the color highlighted in blue with the value of your desired color
Size - to change the letter size, increase/decrease the value highlighted in pink.
Step 4. Now search for this code:
<data:post.body/>
Step 5. Then immediately before and after add the red fragments you see in the example below:
<div class='capital'><data:post.body/></div>
Step 6. Save your template.
Important! If the above code is not working, add one of following codes from this example:
<p class="capital"><data:post.body/></p>
Or
<span class="capital"><data:post.body/></span>
Big First Letter For Blogger/Blogspot Comments
Step 1. Log in to your Blogger account, then go to Design (Layout) >> Edit HTML >> check the "Expand Widget Templates" box
Step 2. Search (CTRL + F) for this piece of code (if you have already added this code, skip step 2 & 3):
]]></b:skin>
Step 3. Add the following code just above ]]></b:skin>:
.capital:first-letter {
float: left;
display: block;
font-family: Times, serif, Georgia;
font-size: 40px;
color: #000000;
margin:0px 5px 0 0;
padding:0 0 0 10px;
}
Customize:
Color - change the color highlighted in blue with the value of your desired color
Size - to change the letter size, increase/decrease the value highlighted in pink.
Step 4. Then Search for this piece of code:
<data:comment.body/>
Step 5. Add the red codes before and after <data:comment.body/> as you can see in my example below:
<p class="capital"><data:comment.body/></p>
Step 6. Save your Template.
That's it! Now you have a cool drop cap first letter on your blog.
If you have any question, leave a comment below!
{ 0 comments... read them below or add one }
Post a Comment