-
AuthorPosts
-
ew128 Friend
ew128
- Join date:
- October 2011
- Posts:
- 101
- Downloads:
- 0
- Uploads:
- 45
- Thanks:
- 8
- Thanked:
- 2 times in 1 posts
February 15, 2012 at 2:36 pm #173916could I change color only for one of all position menu ?
for example. I added new position and would like to shown as highlighted.khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
February 19, 2012 at 2:33 pm #438903I don’t understand what you mean clearly. Could you explain more? A snapshot with your comment is very helpful to help me understand your issue.
ew128 Friendew128
- Join date:
- October 2011
- Posts:
- 101
- Downloads:
- 0
- Uploads:
- 45
- Thanks:
- 8
- Thanked:
- 2 times in 1 posts
February 20, 2012 at 7:18 pm #439088No problem, I would like to mark by other color newly added menu position
current state
state expected
state expected on hover
possible but not preferred by me (adding picture in settings)
- khoand Friend
khoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
February 21, 2012 at 10:58 am #439233– You edit ZAPISY menu item, set Additional class is new (in Parameter (JA Extended) tab)
– You add the code into /templates/ja_kranos/css/template.css
.ja-megamenu ul.level0 li.mega.new.over {
background-color: blue;
}
via inspector
.ja-megamenu ul.level0 li.mega.new {
background-color: orange;
}khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
February 26, 2012 at 1:04 pm #440132Do you solve it?
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
March 7, 2012 at 1:17 am #442315Do you solve it?
ew128 Friendew128
- Join date:
- October 2011
- Posts:
- 101
- Downloads:
- 0
- Uploads:
- 45
- Thanks:
- 8
- Thanked:
- 2 times in 1 posts
March 7, 2012 at 8:40 am #442370Sorry for delay, i checked but this solution doesn’t work
I added “new” class in position menu and below code in template.css file.
/* nowa pozycja menu */
.ja-megamenu ul.level0 li.mega.new.over {
background-color: blue;
}
via inspector
.ja-megamenu ul.level0 li.mega.new {
background-color: orange;
}TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
March 7, 2012 at 7:43 pm #442451I think there may be a bit of a “lost in translation” happening here.
Allow me to see if I can assist . . .Create individual CSS classes for each color you want to assign to your respective menu items.
FOR EXAMPLE, you could name your classes “blue1,” “orange1,” “yellow1,” etc … or pretty much whatever you want
(best not to make them too log o convoluted, though)You then add the class code into /templates/ja_kranos/css/template.css
(although, I would think that the more correct home for this process would be /templates/ja_kranos/css/menu/mega.css)try it either way . . . whichever works first/best, stick with it.
FOR EXAMPLE:
.ja-megamenu ul.level0 li.mega.blue1 {
background-color: orange;
}OR, if you only want the color to change only on mouseover . . .
.ja-megamenu ul.level0 li.mega.blue1.over {
background-color: blue;
}
Then – within each menu item’s configurations – in Parameters >> JA Extended tab – set the “additional class” to whichever one you choose.
Let us know if this method/process works for you.
1 user says Thank You to TomC for this useful post
AuthorPostsViewing 8 posts - 1 through 8 (of 8 total)This topic contains 8 replies, has 3 voices, and was last updated by TomC 12 years, 9 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum