|
|
|
CSS a:active 3 Years, 1 Month ago
|
|
|
Is there a way to get the menu images, when active, to display a different image?
I would give each menu image an individual styling, but I cannot find the CSS file/s in '/public_html/modules/mod_j15mainmenuimages'.
Thank you,
-Ashton
|
|
|
|
Logged
|
|
|
The topic has been locked.
|
|
|
|
Re:CSS a:active 3 Years, 1 Month ago
|
|
|
Changing the image when passing the mouse over the image is not strictly possible (currently). However, to achieve a similar effect, it is possible to change the background of the image using CSS.
The following is an example: li.item55:hover {
img:url(/images/stories/otherbackground.jpg);
}
The above entry in the stylesheet will create an effect on the li with class "item55" will achieve the on mouse over background effect. You'd need to create an entry in the stylesheet for each menu item which you want this effect on.
|
|
|
|
Logged
|
|
|
The topic has been locked.
|
|
|
|
Re:CSS a:active 3 Years, 1 Month ago
|
|
|
Okay, great.
Could you please let me know which stylesheet I am to edit and where-abouts?
And, if it works for hover, should it not also be able to work for active?
Thanks!
-Ashton
|
|
|
|
Logged
|
|
|
The topic has been locked.
|
|
|
|
Re:CSS a:active 3 Years, 1 Month ago
|
|
|
You can put it in any stylesheet strictly speaking ...
Yeah, if it works for hover, I think it should work for active though I haven't tried it.
|
|
|
|
Logged
|
|
|
The topic has been locked.
|
|
|
|
Re:CSS a:active 3 Years, 1 Month ago
|
|
|
Hi. Great module that made my website more simple and facionable in the same time.
I was looking for modify the code to show up a different image when the menu icon is active. could u please tell me how to? I mean which css or php file i've to edit and the code if is it possible.
Thanks a lot
Bye
|
|
|
|
Logged
|
|
|
The topic has been locked.
|
|
|
|
Re:CSS a:active 3 Years, 1 Month ago
|
|
|
Thanks DART. And;
Bellamy wrote:
Hi. Great module that made my website more simple and facionable in the same time.
I was looking for modify the code to show up a different image when the menu icon is active. could u please tell me how to? I mean which css or php file i've to edit and the code if is it possible.
Thanks a lot
Bye
my sentiments exactly.
Thanks,
-Ashton
|
|
|
|
Logged
|
|
|
The topic has been locked.
|
|