Okay
  Public Ticket #3043317
Custom html
Closed

Comments

  •  10
    ecr started the conversation

    Hi,

    What can we use in fields as the following ones (taken from new item in megamenu)?

    1638282726.png


    Is there somewhere a list of usable values or custom classes as:

    <span class="label-menu">Nouveau</span>

    Thanks. Regards.

  • [deleted] replied

    Hi ecr,

    2 field is different,

    Custom class will add one or more class into menu item section

    Special Html will add custom content inner menu item

    Regards,

    Hyun

  •  10
    ecr replied

    Hi Hyun,

    OK. But does it exist a list of usable Custom classes or Special Html as <span class="label-menu">Nouveau</span>?

    Thanks. Regards.

  • [deleted] replied

    Hi ecr,

    As our demo https://claue2.arrowtheme.com/

    Current have 2 color for special class

    <span class="label-menu">New</span> -> Blue color

    <span class="label-menu sale">Sale</span> -> Orange color

    If you want another color, you need to add your class then use custom style to change it color.

    Regards,

    Hyun

  •  10
    ecr replied

    Hi Hyun,

    OK. Where these 2 classes are stored? And where should I save my new class?

    Thanks. Regards.

  • [deleted] replied

    Hi ecr,

    These class will save direct in field Special Html. Your custom class will be save like that.

    Ex: <span class="label-menu">Nouveau</span> is the default html. You just need to put your custom class like this <span class="label-menu custom-class">Nouveau</span>

    Regards,

    Hyun