-
AuthorPosts
-
Aratype Friend
Aratype
- Join date:
- August 2007
- Posts:
- 797
- Downloads:
- 41
- Uploads:
- 60
- Thanks:
- 194
- Thanked:
- 98 times in 6 posts
October 22, 2011 at 8:52 am #169926I am thinking to change the color of only one item in the Main menu
or in Joomla’s menu
and I am wondering if it possible to do it
Someone have a idea?
Thanking you in advance
Ara
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
October 22, 2011 at 9:07 am #420822Hi aratype
You want customize the background ?
Aratype FriendAratype
- Join date:
- August 2007
- Posts:
- 797
- Downloads:
- 41
- Uploads:
- 60
- Thanks:
- 194
- Thanked:
- 98 times in 6 posts
October 22, 2011 at 9:19 am #420825Thank you Pavit,
Actually as you said it. Let us talk about 2 options:
1. changing the font color
2. changing the background colorThanking you in advance
Ara
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
October 22, 2011 at 9:28 am #420827It’s all in this file /templates/ja_erio/css/menu/mega.css
.ja-megamenu ul.level0 li.mega a.mega {
background-image: url("../../images/grey_border_l.gif"); <---------- background image
background-position: 100% 0;
background-repeat: no-repeat;
color: #7B7D80; < ---- text color
line-height: 5;
margin-bottom: 5px;
padding: 0 20px;
text-transform: uppercase;
}Aratype FriendAratype
- Join date:
- August 2007
- Posts:
- 797
- Downloads:
- 41
- Uploads:
- 60
- Thanks:
- 194
- Thanked:
- 98 times in 6 posts
October 22, 2011 at 9:56 am #420830Thank you again Pavit… This will change the color of all items or just one?
My question is to change only one item in the menu
Thanking you in advance
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
October 22, 2011 at 10:48 am #420837Hi
This will change all items background and text
You need in the main menu each item with different text color and background ?
Aratype FriendAratype
- Join date:
- August 2007
- Posts:
- 797
- Downloads:
- 41
- Uploads:
- 60
- Thanks:
- 194
- Thanked:
- 98 times in 6 posts
October 22, 2011 at 10:56 am #420840Thank you,
<em>@pavit 277775 wrote:</em><blockquote>Hi
You need in the main menu each item with different text color and background ?</blockquote>
Yes we need them in this way…
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
October 22, 2011 at 11:04 am #420842Well I never tried to do this before, but the concept is “every item has an ID, in the mega.css i can assign that ID to a customized css ”
For example in this tutorial the css for menu item was modified adding for every item a customized text color and background that tutorial is for Joomla 1.5 but the concept is valid for Joomla 1.7 too.
All you must to do is rewrite all the css code for each item ID
-
AuthorPosts
This topic contains 8 replies, has 2 voices, and was last updated by pavit 13 years, 2 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum