Adding effective and Eye-catching image to blogs attracts visitors/readers to stay on blogs. Here, BlogTariff presents wonderful technique trick "How to change on mouse over image change". We already discussed about on mouse over change techniques for blog now in this tutorial BlogTariff educate you for adding "On mouse over image change" for blogger. Thsi trick is based on CSS coding and you don't need to work hard just add this code with simple following methods as given below. Let's begin the tutorial to add code in easy two steps.
Click on "EDIT HTML" link tab
Now search for code
After pasting the above code now select the area wherever you want to display "on mouse over" image i.e readmore or below post or above post or below post title.
Note: Before you execute this method, the class name used in both the HTML and CSS part should be the same as below.
After successful modifications now, Save the widget or post or Template and preview.
Step 1: How to "Add On mouse over image change" for blogger?
Sign into your blogger accountClick on "EDIT HTML" link tab
Now search for code
]]></b:skin>After finding the code copy the below code and paste above to it
.image-hover {Step 2:
display:block;
background-image:url(http://first_image_url.jpg);
width:100px;
height:100px;
}
.image-hover:hover {
background-image:url(http://second_image_url.jpg);
}
After pasting the above code now select the area wherever you want to display "on mouse over" image i.e readmore or below post or above post or below post title.
Note: Before you execute this method, the class name used in both the HTML and CSS part should be the same as below.
<a class='image-hover'></a>The area you've selected must have two images to appear first and on mouse over image second as below code
<img src='http://first_image_url.jpg' onmouseover="this.src='http://second_image_url.jpg'" onmouseout="this.src='first_image_url.jpg'"/>
Customization:
- Replace "First image url" with your starting image to appear
- Replace "Second image url" with your on mouse effect image to appear
After successful modifications now, Save the widget or post or Template and preview.
Post a Comment Gmail ID Facebook
Do not Try to Add Spam Comments