Okay
  Public Ticket #2014836
Change badge text
Closed

Comments

  • S_concept started the conversation

    Hi,


    How do you change the text and color of the menu badges?

    is it possible to add badges?

  •  675
    Neuron replied

    Hey,

    Here's the process on adding new badges.

    1) Tick on the top right button 'screen options'. http://prntscr.com/nk9tuu Enable the CSS classes for the menu items.

    2) Add the following classes, the first class remains the same, you simply need to change the second. http://prntscr.com/nk9u99 In this case, we add fresh.

    3) Add the following style for every new badge.

    .l-primary-header .a-menu-badge.fresh > a:not(.menu-item-icon)::before {   content: 'Fresh';
        background-color: #333;
    }

    Do not forget to change the class which stands on the .a-menu-badge.fresh.

    Feel free to ask for anything you need.

    Kind Regards


    Subscribe to our newsletter to get the latest updates about NeuronThemes and join our community Facebook Group.

  • S_concept replied

    hi,


    thanks! works perfectly!

  •  675
    Neuron replied

    You are welcome anytime, feel free to ask for anything you needsmile.png

    If you like our theme, please leave us a rate with 5 stars at ThemeForest, that would help us a lot.

    Kind Regards,
    NeuronThemes


    Subscribe to our newsletter to get the latest updates about NeuronThemes and join our community Facebook Group.