Hover over image on category

Go down

In progress Hover over image on category

Post by Rupture on December 7th 2013, 7:27 am

What is the CSS code to put a picture when someone hovers over the categorys on the forums?

PHPBB3
avatar
Rupture
Forumember

Male Posts : 325
Reputation : 6
Language : English, Español, Deutsch, Catalá
Location : Earth

http://raptorgaming.forumotion.com

Back to top Go down

In progress Re: Hover over image on category

Post by Sanket on December 7th 2013, 8:15 am

I think this should work.

Add this when you create a category
Code:
<div class="abc">
       Category 1</div>
Add this to your css.

Code:
.abc a img:hover {
    background:url(http://xyz.com/img);
    position:absolute;
    top:0px;
}
Change the position according to what you want.
avatar
Sanket
ForumGuru

Male Posts : 48766
Reputation : 2828
Language : English
Location : Mumbai

http://webartzforum.com

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum