-
AuthorPosts
-
February 20, 2023 at 6:49 pm #1398672
Hi,
is it possible to give the bullets of the mega menu different colors for the navigation points?
For example i put the link in pvt content. Mega menu is only on “Events”
So, “SALZLAGER” “BURG HASSEG” and “KURHAUS” should have different colors. Blue, red, green for example.
Thank you for helping!
February 20, 2023 at 8:44 pm #1398683Hey Stefan,
You could use css like this adjusting the color to suit the menu item IDs:<pre><code>.header_color #menu-item-331 > a > .avia-bullet { border-color: blue; } .header_color #menu-item-388 > a > .avia-bullet { border-color: green; } .header_color #menu-item-332 > a > .avia-bullet { border-color: yellow; }
This css changes the menu arrows for three items to blue, green, and yellow.
Try to modal this for your other items, this is the expected results for the above css:
Please ensure to copy the code from the forum and not an email notification so the symbols are not converted.
After applying the css, please clear your browser cache and check.Best regards,
MikeFebruary 22, 2023 at 9:05 am #1398834Hi Mike,
work’s great – thank you!
Do you also have an idea how i can change the size and kind of the symbol? For example a bar instead of the triangle.
February 22, 2023 at 1:29 pm #1398872Hi,
To change the menu arrows please see our documentation: Replace mega menu arrows with custom icon
So for your situation, to have the bar icon and to have it the color red, please try this css:#top .avia-bullet { border: none; padding:0; margin: 0 5px 0 0!important; } #top .avia-bullet:before { content: "\e819"; font-family: 'entypo-fontello'; color: red; font-size:11px; line-height:1em; left:-3px; }
This will change the above solution to have specific bars a different color to this css:
.header_color #menu-item-331 > a > .avia-bullet:before { color: blue; } .header_color #menu-item-388 > a > .avia-bullet:before { color: green; } .header_color #menu-item-332 > a > .avia-bullet:before { color: yellow; }
Best regards,
Mike -
AuthorPosts
- You must be logged in to reply to this topic.