-
AuthorPosts
-
greendome Friend
greendome
- Join date:
- June 2008
- Posts:
- 52
- Downloads:
- 6
- Uploads:
- 6
- Thanks:
- 8
- Thanked:
- 2 times in 2 posts
December 15, 2010 at 9:56 pm #157494Hello,
I was wondering how i do i change color of a single menu item like the ‘DEMO’ option in this site, where it has green background?
Thanks
GD
Hayden A FriendHayden A
- Join date:
- April 2010
- Posts:
- 282
- Downloads:
- 0
- Uploads:
- 20
- Thanked:
- 54 times in 53 posts
December 16, 2010 at 5:06 am #367083Dear greendome,
this is in regards to which template?
greendome Friendgreendome
- Join date:
- June 2008
- Posts:
- 52
- Downloads:
- 6
- Uploads:
- 6
- Thanks:
- 8
- Thanked:
- 2 times in 2 posts
December 17, 2010 at 10:19 am #367304Hello anhhv,
Am using the JA Rasite template.
Thanks
greendome Friendgreendome
- Join date:
- June 2008
- Posts:
- 52
- Downloads:
- 6
- Uploads:
- 6
- Thanks:
- 8
- Thanked:
- 2 times in 2 posts
December 20, 2010 at 6:12 pm #367806Hello,
Wondering if any one can shed some light on this issue.
Thank you,
GDHayden A FriendHayden A
- Join date:
- April 2010
- Posts:
- 282
- Downloads:
- 0
- Uploads:
- 20
- Thanked:
- 54 times in 53 posts
December 21, 2010 at 6:05 am #367880templatesja_rasitecssmenumega.css and find line
[PHP]ul.level0 li.active a.mega,
ul.level0 li.active a.over {
background: url(../../images/mainlevel-active.gif) no-repeat left top #57222B;
color: #fff;
}ul.level0 li.active a.mega span,
ul.level0 li.active a.over span.menu-title {
background: url(../../images/mainlevel-active.gif) no-repeat right top;
}[/PHP]and change it to:
[PHP]ul.level0 li.active a.mega,
ul.level0 li.active a.over {
background: url(../../images/title-green.gif) no-repeat left top;
color: #fff;
}ul.level0 li.active a.mega span,
ul.level0 li.active a.over span.menu-title {
background: url(../../images/title-green.gif) no-repeat 100% 0px;
}
[/PHP]1 user says Thank You to Hayden A for this useful post
greendome Friendgreendome
- Join date:
- June 2008
- Posts:
- 52
- Downloads:
- 6
- Uploads:
- 6
- Thanks:
- 8
- Thanked:
- 2 times in 2 posts
December 21, 2010 at 1:47 pm #367955<em>@anhhv 209947 wrote:</em><blockquote>templatesja_rasitecssmenumega.css and find line
[PHP]ul.level0 li.active a.mega,
ul.level0 li.active a.over {
background: url(../../images/mainlevel-active.gif) no-repeat left top #57222B;
color: #fff;
}ul.level0 li.active a.mega span,
ul.level0 li.active a.over span.menu-title {
background: url(../../images/mainlevel-active.gif) no-repeat right top;
}[/PHP]and change it to:
[PHP]ul.level0 li.active a.mega,
ul.level0 li.active a.over {
background: url(../../images/title-green.gif) no-repeat left top;
color: #fff;
}ul.level0 li.active a.mega span,
ul.level0 li.active a.over span.menu-title {
background: url(../../images/title-green.gif) no-repeat 100% 0px;
}
[/PHP]</blockquote>I think the above code changes the color when selecting a menu item.
What I wanted to do was change the color of single menu item just as it is on the JA website where the DEMO menu item has the background set to green even when not selected. I.e. the DEMO menu item is always green.
Thank you,
GDHayden A FriendHayden A
- Join date:
- April 2010
- Posts:
- 282
- Downloads:
- 0
- Uploads:
- 20
- Thanked:
- 54 times in 53 posts
December 21, 2010 at 3:56 pm #367967Sorry greendome,
you can change color of single menu by you open file templatesja_rasitecsstemplate.css find line
[PHP]#ja-mainnav {
background: url(../images/mainnav-bg.gif) repeat-x left top;
font-family: Tahoma, Verdana, Tahoma, sans-serif;
height: 46px;
line-height: 1;
padding-top: 10px;
position: absolute;
top: 0;
z-index: 900;
}[/PHP]and change to
[PHP]#ja-mainnav {
background: green;
font-family: Tahoma, Verdana, Tahoma, sans-serif;
height: 46px;
line-height: 1;
padding-top: 10px;
position: absolute;
top: 0;
z-index: 900;
}[/PHP] -
AuthorPosts
This topic contains 7 replies, has 2 voices, and was last updated by Hayden A 13 years, 11 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum