Add a badge to dropdown item

Currently you can add a badge to a dropdown items (e.g. the dropdown in Creative Demo), add the shortcode below to the dropdown items of your menu in the Navigation Label field (WordPress Panel > Appearance > Menus)

[pix_badge text="Main Demo" text_size="custom" text_custom_size="12px" text_color="primary" bg_color="primary-light"][/pix_badge]

You can customize the colors of the badge, for example:

  • text_color="primary"
    text_color="secondary"
    text_color="white"
    text_color="gray-5" 
  • bg_color="primary-light"
    bg_color="primary"
    bg_color="secondary"
    bg_color="gray-1"

Please note that currently it’s only possible to add a badge to a dropdown items (and not for menu items), we’re going to add more customization options in the future update.

For more information you can check the theme colors in this article from our knowledge base:

pixfort
pixfort
Essentials support team
hub.pixfort.com

Hey, this is pixfort support team, if you still need help you can always reach us via the chat messenger in your account on pixfort hub

Related Posts