Saturday 21 March 2015

More HTML for your Blog!

Hey Lovelies,
 
I have more HTML tips for you! Hopefully this helps you to improve your blogs!

This first piece of code is if you want to change the font to 'Pacifico' in one of your posts, but not every post e.g. on a Merry Christmas post. To do this, enter the following code.
 
<span style="font-family: 'Pacifico';">Some Text</span>
 
I will also show you how to get social media links under every blog post.

First, go to your Blogger Dashboard > Template > Edit HTML.
Next, click CTRL F (on a PC) or CMD F (on a Mac) and type in:

<data:post.body/>
 
This will occur more than once in your HTML, but you're looking for the one that appears last. Use the numbers on the left-hand side to guide you. Underneath it, paste the following:

<div class='sociallinks'> </div>

Between the tags, if you want image links, place this:

<a href="URL LINK" target="_blank"><img src="IMAGE URL" border="0" alt="LINK DESCIPTION"/></a>

If you want a text link, add the following:

<a href="URL LINK" target="_blank" title="TITLE OF LINK">URL TEXT</a>

That's all for now, folks! Get improving! I have already posted some HTML code you can use here.

Love, Peace and Snickers xx }|{

P.S. I would imagine that if you could understand Morse code, a tap dancer would drive you crazy.

No comments :

Post a Comment

Leave comments here: