Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #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!

    #1398683

    Hey 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:
    Enfold_Support_434.jpeg
    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,
    Mike

    #1398834

    Hi 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.

    #1398872

    Hi,
    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;
    }

    The expected results:
    Enfold_Support_436.jpeg

    Best regards,
    Mike

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.