Skip to main content

Link Hover Effect for Blogspot

All right then!
A commenter asked me how did I manage to apply mouse over link hover effect to my Blog.
First thing first.

What is a link hover effect?


Answer:
Julia was the commenter
On moving the mouse on the link, the way link is displayed, changes. In the above case, the link gets an underline, an over line and the font size of the link increase.

How did I get hover effect in Blogspot?

In blogspot a link has four properties attached to it
a:link { }
a:visited { }
a:hover { }
a:active { }
here actual attributes are given inside {}
For hover effect, we are concerned with the property
a:hover { }

It is quite simple actually
This requires making changes to the HTML code of the blog.
For the beginner this might be useful:


Also, remember to backup the template first using Download full template option. This is the most important step. I can’t tell you how many times I have muddled my template without taking a backup and later regretting it. It was good learning but you can act smarter. In case of any problem one can revert to earlier state by uploading the backed up XML file.
The basic template for this blog is Minima that I have modified into a three-column template, but these would apply on all Blogger template.
In the code search for the lines
body {
margin:1;
font:$bodyfont;
background:$bgcolor;
color:$textcolor;
}
These would be followed by following lines of code:
a:hover {
color:$titlecolor;
text-decoration:underline;
}

Replace or change these lines to:
a:hover {
color:$titlecolor;
text-decoration:underline overline;
font-size:20px;
}
That’s the simple code for my blog to great effect.

Similarly, you can manage many other effects like changing the text color of the links and highlighting the background color when the cursor is over the post title.

-0-

For more drastic effects, I would suggest this blog having great tips for new bloggers.  Found it quite useful in my early days of blogging.

Comments

  1. thanks, i try this on after i write this comment, i'll update u!

    ReplyDelete
  2. i can't do it!

    (btw, my readers are going into your blog, because they think your blog is connected with that $candal. haha)

    ReplyDelete
  3. Julia,
    I can see that links on you page do change color on link hover. They red. Adding the line
    font-size:20px;
    Would change the font. It quite simple.Do try.
    Those stories do get a lot of traffic. I did get a lot of hits from your blog. :)

    ReplyDelete
  4. i already do it!
    but i only change the font size not the color,

    thanks for the help.

    (at first i can't find that line of code!)

    thank u very much! =)

    ReplyDelete
  5. Glad to be of help.

    ReplyDelete

Post a Comment

I always like to hear back :)
However, irrelevant comments and irrelevant links will not be published. Needless to say, same goes for abusive comment and spam. Leaving back links related to the topic is encouraged. I know it can be tempting but try not to leave your email ids, phone nos and CVs in the comment.

Popular posts from this blog

Famous Old Faces of Doordarshan

Some people recall the faces and some people recall the names. Here are images of some of the famous readers and presenters of Doordarshan down the years. If you recognize any of them, leave a comment. [ Update 1 : Most of the faces now have names thanks to helpful comments by olio-gallimaufry ] [ Update 2 : Included image of one of the earliest presenters, Gopal Kaul. Send in generously from personal collection by son, Ashutosh Kaul. Sept, 2010.] [ Major Update 3: Got a tip-off about a documentary about the famous faces of Doordarshan from the makers   of     “The Golden Trail , DD@50 :Special feature on Golden Jubilee of Doordarshan ” from which these caps were taken. I managed to catch the incredible documentary and am adding some more faces/name and part of the docu here. New ones can be found after the image of  Narotam Puri. 30th Oct, 2010]  Pratima Puri. Believed to be the first Doordarshan reader.

All about Taro Ek Dragon Ka Beta

Hawa mithee tu aa ja, purab se Tufaan tu aa jaa re paschim se Chali aa, jaldi aa jaldi aa tu aasmaan se ~Title song from Cartoon Series Taro Ek Dragon Ka Beta Japanese cartoon series from the late 70’s Taro the Dragon Boy ( orginal story by Miyoko Matsutani ) was shown on Indian national television - Doordarshan, in mid nineties with the Hindi title: Taro Ek Dragon Ka Beta . Due to this one serial, a generation of Indians was introduced to the wonders of Japanese animation. Although it may not seem to be a great series in itself( when compared to the new age sleek animation of these days) , showing of Taro the Dragon Boy was the true precursor to the coming of Pokemons, Inuyashas, Samurai Jacks and Dragon Ball Zs. In India, the series is mostly remembered for its title track Hawa mithee tu aa ja written by Gulzar and brilliantly composed music by Vishal Bhardwaj. In 1966, Taro, the Son of Dragon with the original Japanese title of ...

Space City Sigma, 1989

A strange new deadly creature has sneaked aboard the ship. The latest maneuver of  Zakhakoo to take down Commander Tara and his city, the last hurdle to his plans of adding earth to his galactic kingdom and the universe. This time he sent a small Blob, strangely, much resembling a stinky wet Upla , a throbbing pack of  cow-dung . The Blob is given to jumps onto its unsuspecting victims and sucks the life force out of them. Soon, this 'death-on-contact-with-skin' creature starts making victims out of helpless citizens of the Space City who have no clue about the nature of these new deaths. As the word slowly spreads,there is mayhem, in this mayhem the Blob zeros in on what could be its most prized victim - Shakti. As a doors open (automatically, woosh -pause- woosh ), Shakti walks in only to be attacked slyly by the Blob. In the manner of its previous killings, this time too, Blob goes for the face, sticking to ...