The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Hover over image on category

View previous topic View next topic 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

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.

Sanket
ForumGuru

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

http://webartzforum.com

Back to top Go down

View previous topic View next topic Back to top


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