Tuesday 10 November 2015

HOW YOU CAN ADD A WELCOME GREETING MESSAGE TO YOUR BLOG OR WEBSITE...

Adding a welcome greeting to your blog readers helps to make it unique and stand out. Below are steps to use in adding this unique feature to your blogger blog or website.

Step 1: Logon to your blogger dashboard and click your desired blog for it to open.

Step 2: Click on 'Template' for the 'Live on Blog' view to appear.

Step 3: Click on the 'Backup/Restore' tab to download and save a full version of your template in your computer (highly recommended).


Step 4: Click on 'Edit' on the 'Live on Blog' view for the template codes to appear.

Step 5: Click inside where you have the codes and  old down 'Ctrl + F' for a search text field to appear at the top right corner.

Step 6: Type the tag </head> in the text field and click on search as shown below.

www.nairaup.com
Step 7: Copy and paste in the following code just immediately before the tag </head> and click on 'Save Template'.

CODE:


&lt;h1 id=&quot;demo&quot;&gt;&lt;/h1&gt;

&lt;script&gt;
if (new Date().getHours() &lt; 12) {
    document.getElementById(&quot;demo&quot;).innerHTML = &quot;Good Morning!&quot;;
}
else if (new Date().getHours() &lt; 18) {document.getElementById(&quot;demo&quot;).innerHTML = &quot;Good Afternoon!&quot;;}
//www.nairaup.com
else{document.getElementById(&quot;demo&quot;).innerHTML = &quot;Good Evening!&quot;;}
&lt;/script&gt;
&lt;style&gt;

h1 {
    color: blue;
    text-align: center;
}

p {
    font-family: &quot;Times New Roman&quot;;
    font-size: 20px;
}
&lt;/style&gt;

Step 8: Click on 'View Blog' to view your blog's new look.

NB: You may decide to change the color of your font from 'blue' to any color of your choice by typing the color you prefer instead of blue. You can also change the size of the font from 20px to any size you want. 

Enjoy!

No comments:

Post a Comment