I was going to write the chapter 3 about blogging but you need to learn this thing as we are gonna use it in that chapter. So today we will learn how to change the bullet list using the Image Hover effect. Hover your cursor over the bullet list below to see the effect.
- Isn’t the image turning blue from green?
- Liked it? Now learn it!
Go To,
- Blogger > Layout > Edit HTML
- Search For ]]></b:skin>
- and just above ]]></b:skin> add the code below, (Tip:- Press Ctrl + F)
.post ul {list-style:none;
}
.post ul li {
line-height: 1.4em;
background: transparent url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKaxgvD5rLaDLfgKSY4GvFEl2OoUK3LBMGbALaRLYH8-SahRnSasgJli9TxuIjcwh-c3Wkbx5mWx_6qWHcH4AiGU1GnowHqgADg_xdeNJ-gRy1zF0rYhbZjg2YEvF9Fo82erJSzM8TwOQ/s400/265.gif) no-repeat scroll 0px 4px;
margin: 0.3em 0;
padding: 0 0 0.8em 20px;
}
.post ul li:hover {
background: transparent url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4DyNYmYQ1fIkwTRYkC6SvvsruROc55LFsKt23C0PTomAbuNFcDJPMsl3XuOgYJJZ9ymvaZMTdtYzTPzD20acpICMGpmnYeh23iehRxsj1p8AruWdjErCGmMt40EuBx8OGJgCObhyphenhypheny_nA/s400/261.gif) no-repeat scroll 0px 4px;
}
- Save your template and you are done!
<style>
ul {list-style:none;
}
ul li {
line-height: 1.4em;
background: transparent url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKaxgvD5rLaDLfgKSY4GvFEl2OoUK3LBMGbALaRLYH8-SahRnSasgJli9TxuIjcwh-c3Wkbx5mWx_6qWHcH4AiGU1GnowHqgADg_xdeNJ-gRy1zF0rYhbZjg2YEvF9Fo82erJSzM8TwOQ/s400/265.gif) no-repeat scroll 0px 4px;
margin: 0.3em 0;
padding: 0 0 0.8em 20px;
}
ul li:hover {
background: transparent url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4DyNYmYQ1fIkwTRYkC6SvvsruROc55LFsKt23C0PTomAbuNFcDJPMsl3XuOgYJJZ9ymvaZMTdtYzTPzD20acpICMGpmnYeh23iehRxsj1p8AruWdjErCGmMt40EuBx8OGJgCObhyphenhypheny_nA/s400/261.gif) no-repeat scroll 0px 4px;
}
</style>
<ul> /*hackwithstyle.blogspot.com*/
<li>This is Sample Text</li>
<li>This is Sample Text</li>
<li>This is Sample Text</li>
</ul>
I hope you will like it. Take care :>
Customization
The bullet image can be aligned horizontally with the text by increasing or decreasing the value 4px. You can change the value to 7px or more or less according to your blog alignment requirement.
You can also replace the bullets above with your own. To get a bullet of your own choice download up to 231 seductive bullets by subscribing to this blog.
Note:- Subscribers have already been emailed the Download copy
Once you have selected your preferred bullet simply upload it to blogger and replace the above two links (Green and Blue) with the URLs of your own bullets. To learn how to save images in blogger, read this post –> Create a Backup For Images in Blogger
Play With The Code!
Paste this code in the HTML EditorSubscribe To Get FREE Tutorials!
Respected Readers:
|
3 comments:
just amazing working really fine on my blog
@haider .... nice enjoy now ... :))
Please post all the tricks of cain and abel am very interested in it.
Confused? Feel free to ask
Your feedback is always appreciated. I will try to reply to your queries as soon as time allows.
Post a CommentNote:-
Please do not spam Spam comments will be deleted immediately upon my review.
Regards,
XEO Hacker