I recently shared a tutorial of customizing the look of your bullet list and number list and 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/AVvXsEivK-BxHB72Kf70yBj0Ipgkw2Kj3QaavZn0eNFckeKgTFx5lDaIVpFSnqjFxBpAnOtgzm5l5b804TAe6IROvHMfIY49yp99Qp1OE6uyB15iPaIvQ1ZLoWY0t4l7jmcC2tAUU5GalP2RuSk/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/AVvXsEg74Od_x-Phot9Av43arSVxINNqBTQlL83cpacih015QFOy2TpqQK6tqrhMyBuspqDmdrhcwWGTcRCwCRmOVHwVwlV3WYxs0ZgOSgf_et0W8pR3f2i17C0zAtv447Bb0tS0AAa5grU2esA/s400/261.gif) no-repeat scroll 0px 4px;
}
- Save your template and you are done!
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!
If you want to try the code before applying it to blogger than use our HTML Editor by clicking the link Below,Paste this code in the HTML Editor,
<style>I hope you will like it. Take care :>
ul {list-style:none;
}
ul li {
line-height: 1.4em;
background: transparent url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivK-BxHB72Kf70yBj0Ipgkw2Kj3QaavZn0eNFckeKgTFx5lDaIVpFSnqjFxBpAnOtgzm5l5b804TAe6IROvHMfIY49yp99Qp1OE6uyB15iPaIvQ1ZLoWY0t4l7jmcC2tAUU5GalP2RuSk/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/AVvXsEg74Od_x-Phot9Av43arSVxINNqBTQlL83cpacih015QFOy2TpqQK6tqrhMyBuspqDmdrhcwWGTcRCwCRmOVHwVwlV3WYxs0ZgOSgf_et0W8pR3f2i17C0zAtv447Bb0tS0AAa5grU2esA/s400/261.gif) no-repeat scroll 0px 4px;
}
</style>
<ul>
<li>This is Sample Text</li>
<li>This is Sample Text</li>
<li>This is Sample Text</li>
</ul>
No comments:
Post a Comment