-
AuthorPosts
-
August 13, 2013 at 8:14 pm #189707
Hello There, I would like to know how can I make a individual link-button with different color, Please see image attached for better understanding. I
phong nam Friend
phong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
August 14, 2013 at 10:57 am #502199Hi yolvy,
You can use the page class to display the menu item with different background color. The detailed steps are:
1. Open the templatesja_mendozitecssmenumega.css file, then put your page class suffixes into. The page class should have below css format:
i.e:.red .ja-megamenu ul.level0 > li.active > a.mega {
background: red;
}2. Go to the menu item’s backend, enter the page class suffix name (i.e red) into Page class option. Make sure you leave a space before the text.

3. Clear JAT3 cache then, and you can create as many page class as you want.
August 15, 2013 at 3:18 pm #502346Thanks for your reply, but doesn’t work. I deleted the grad.png and now my home link change to the default color orange, and my active link stills red. but when I clicked the link change to orange.
Now if I click the custom link with that code works, only when I press the link. What I want is to have active that color all the times, even if I click or not the link.
Now to keep my whole menu with the color red, I get back the grad.png all back to red. but that code doesn’t work.
check image to understand the issue.
Thank you.
phong nam Friend
phong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
August 16, 2013 at 5:56 am #502423Hi yolvi,
It is my mistake. Yes, you can try on these.
1. Create the extra class for each menu item in templatesja_purity_iicssmenumega.css file. The extra class styles shoule be (i.e):
.ja-megamenu ul.level0 li.mega a.mega.red {
background: red;
}.ja-megamenu ul.level0 li.mega a.mega.green {
background: green;
}
The color text is the extra class name.
2. Add the extra class names into Additional class option of Parameters (JA Extended) in the backend of menu items you want. Then clear JAT3 cache.
The result:

Note: You should remove the additional classes from my previous reply, and you can create as many extra class as you want.
AuthorPostsViewing 4 posts - 1 through 4 (of 4 total)This topic contains 4 replies, has 2 voices, and was last updated by
phong nam 11 years, 5 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum


