Limited availability during the holidays

Another busy year is coming to its end, and an exciting year lies ahead. In order to get ready for a fresh new start, our team will spend a few days' rest during the winter holidays. Over the holiday break, we will have reduced staffing from December 20th, 2025, to January 4th, 2026, so please be patient if you do not receive a response as quickly as you normally would.

We send our warmest wishes for happiness, health, and success throughout the coming year. Thank you for your continued support, and may you have a peaceful and blessed Happy Holidays!

Okay
  Public Ticket #1983279
Apply class to <a> element of button
Closed

Comments

  • Michael started the conversation

    I realize I can apply a class in the button properties, Link & Attributes tab, however this add the class to the parent <span>

    How can I add a class to the actual <a> element?

  • [deleted] replied

    Hello Michael,

    Thank you for getting in touch with us. My name is Attila and I'm happy to assist you today. I appreciate your patience while we've been working towards your ticket.

    The class attribute is being applied on the layer itself, not on the parent element. You can see whether they are being applied on the layer or on the parent, at the end of the common attribute fields. But if you don't find any predefined attribute for your needs, you can add any with the custom attribute fields at the bottom.

  • Michael replied

    This does NOT answer the question at all - how do I apply a class to the <a> element of a Button layer - Layers and Attributes does NOT help.

  • [deleted] replied

    Yes, it does help. The link & attributes tab is exactly what you need. As mentioned, you can use the custom attribute fields at the bottom of that section for this.

    Enter class for the attribute name and the name of the class for the attribute value. After that you can flip the on parent switch on the right side. You can also read the tooltip for more information, if you hover over said on parent switch.