-
AuthorPosts
-
dcross02 Friend
dcross02
- Join date:
- December 2010
- Posts:
- 55
- Downloads:
- 43
- Uploads:
- 10
- Thanks:
- 10
- Thanked:
- 1 times in 1 posts
March 2, 2016 at 12:04 am #893173I’d like to have the first word of every main menu item be a different color than the rest of the words. How can I do that? See attached for example.
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
March 2, 2016 at 12:34 am #893179dcross02 Frienddcross02
- Join date:
- December 2010
- Posts:
- 55
- Downloads:
- 43
- Uploads:
- 10
- Thanks:
- 10
- Thanked:
- 1 times in 1 posts
March 2, 2016 at 12:59 am #893187I know that that the JA Methys template does it with module titles using the code below. I just can’t figure out how to do the same thing for a menu item.
div.ja-moduletable h3 span.first-word, div.moduletable h3 span.first-word {
background: none;
padding-right: 2px;
color: #98002E;
text-transform: lowercase;
font-size: 60%;
}Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
March 2, 2016 at 1:18 am #893201Hi
The menu items use ul and li , in the above code u can see it applied on the span and both the word are different .
In menu system both are called at the same time . This is not possible in the Mega menu as there is single word , that apply the css on full word .AuthorPostsViewing 4 posts - 1 through 4 (of 4 total)This topic contains 3 replies, has 2 voices, and was last updated by Pankaj Sharma 8 years, 8 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Change Color of First Word Only in Mega Menu
Viewing 4 posts - 1 through 4 (of 4 total)