-
AuthorPosts
-
July 15, 2014 at 5:46 pm #199707
Would like the ability to make each menu item in the main menu a different color to draw attention and use the color as as marker throughout the new website. See this website for an example: http://www.polk-fl.net/
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
July 15, 2014 at 6:02 pm #542464You should be able to do this by assigning each of the links a unique class, and then giving each class a different background color using CSS.
For Example:
You could create different color classes (see below), and then assign a respective class to each menu item:
.gold {
background-color: #faa732;
}.blue {
background-color: #faa732;
}.green {
background-color: #faa732;Make Sense?
1 user says Thank You to TomC for this useful post
July 15, 2014 at 9:10 pm #542479Unfortunately I’m a novice with CSS. I need more details on exactly what to do. Thanks.
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
July 15, 2014 at 9:13 pm #542481<em>@greinert 436852 wrote:</em><blockquote>Unfortunately I’m a novice with CSS. I need more details on exactly what to do. Thanks.</blockquote>
Here is a tutorial which may assist you —> HOW TO USE MODULE CLASS SUFFIX in JOOMLA
1 user says Thank You to TomC for this useful post
Nazario A FriendNazario A
- Join date:
- April 2013
- Posts:
- 1183
- Downloads:
- 0
- Uploads:
- 406
- Thanks:
- 91
- Thanked:
- 284 times in 263 posts
July 16, 2014 at 9:52 am #542551You can use the class suffixes then add your custom code into file /templates/your_template_name/css/custom.css (if not exists, pls create new one).
In this case, please do as following:
– Go to the Megamenu Configuration, then click to menu item and add the Extra Class. (ex: Add “home-blue” for Home menu item)
– Open file: /templates/your_template_name/css/custom.css then add this rule:
.home-blue {
background: blue;
}I guided you to make a menu item , pls do as the same for other menu item.
Let me know if this helps
-
1 user says Thank You to Nazario A for this useful post
July 16, 2014 at 8:43 pm #542657Sorry, but the provided references are generic. Can anyone provide details on exactly where to look within Joomla Purity III or T3 templates? What commands/steps are required to make this happen? Thank you.
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
July 16, 2014 at 8:48 pm #542660<em>@greinert 437070 wrote:</em><blockquote>Sorry, but the provided references are generic. Can anyone provide details on exactly where to look within Joomla Purity III or T3 templates? What commands/steps are required to make this happen? Thank you.</blockquote>
The references are relative to working within the Joomla CMS environment – of which Purity III is.
The recommendations and references provided will teach you how to work with, create and assign module classes within your site.
July 16, 2014 at 9:17 pm #542663Thanks. That was the pointer I needed. Now understand how to apply class within Megamenu.
AuthorPostsViewing 8 posts - 1 through 8 (of 8 total)This topic contains 8 replies, has 3 voices, and was last updated by greinert 10 years, 3 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum