-
AuthorPosts
-
December 4, 2006 at 10:47 am #117852
Hi,
I am looking to implement a rollover colour in the menu’s of JA Antares, for example the Other Menu. I need a little pointer as to if the template colour is blue, let’s say, how/where to add a piece of code in the CSS so that I will have a blue “bar” showing up when I point it at a specific menu item? A bit like in the left vertical menu here:
Thanks in advance.
Regards,
AnthonyHung Dinh Friend
Hung Dinh
- Join date:
- September 2014
- Posts:
- 4408
- Downloads:
- 11
- Uploads:
- 189
- Thanks:
- 309
- Thanked:
- 3310 times in 3 posts
December 4, 2006 at 5:17 pm #212275Find this codes in template_css.css
#ja-topnav ul#mainlevel-nav a {
display: block;
float: right;
padding: 0 12px;
color: #FFFFFF;
text-decoration: none;
text-transform: uppercase;
}
add this code below
#ja-topnav ul#mainlevel-nav a:hover {text-decoration: underline;
}Now you can see the changes when mouseover
December 4, 2006 at 7:16 pm #212278Hi,
This did not work for me … in any case did not give me what I need. Funny thing is that
#ja-topnav ul#mainlevel-nav a:hover {
}
already exists in template_cs..css file, and if I add
text-decoration: underline;
to it, I just get underlined menu items in the topnav on mouseover, which is to be expected. What I would like is like the attached 😀
Hope you can help??
Regards,
Anthony
Hung Dinh Friend
Hung Dinh
- Join date:
- September 2014
- Posts:
- 4408
- Downloads:
- 11
- Uploads:
- 189
- Thanks:
- 309
- Thanked:
- 3310 times in 3 posts
December 5, 2006 at 1:08 am #212285change this:
/* Default Joomla! Menu */
a.mainlevel {
padding: 4px;
display: block;
color: #5A5A5A;
text-decoration: none;
background: url(../images/seperator.gif) repeat-x bottom;
}a.mainlevel:hover,
a.mainlevel:active,
a.mainlevel:focus,
a.mainlevel#active_menu {
background: url(../images/seperator.gif) repeat-x bottom;
color: #5A5A5A;
text-decoration: none;
}
into
/* Default Joomla! Menu */
a.mainlevel {
padding: 4px;
display: block;
color: #5A5A5A;
text-decoration: none;
background: url(../images/seperator.gif) repeat-x bottom;
}a.mainlevel:hover,
a.mainlevel:active,
a.mainlevel:focus,
a.mainlevel#active_menu {
background: #8080FF;
color: #5A5A5A;
text-decoration: none;
}
December 5, 2006 at 5:32 am #212297Great! Thanks, that did the trick … I can now play around with it 🙂
Regards,
AnthonyDecember 5, 2006 at 12:56 pm #212302How can I get this in the included menu? Worked fine in the joomla-menu.
Hung Dinh Friend
Hung Dinh
- Join date:
- September 2014
- Posts:
- 4408
- Downloads:
- 11
- Uploads:
- 189
- Thanks:
- 309
- Thanked:
- 3310 times in 3 posts
December 5, 2006 at 4:54 pm #212304What menu do you want to use? You can view source and find the css name of the menu item then define the css.
December 5, 2006 at 5:23 pm #212309But I cant figger out how. Could someone tell me how to?
AuthorPostsViewing 8 posts - 1 through 8 (of 8 total)This topic contains 8 replies, has 3 voices, and was last updated by
proxaal oxaal 18 years, 2 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Menu Rollovers
Viewing 8 posts - 1 through 8 (of 8 total)
