La fonction de suggestion automatique permet d'affiner rapidement votre recherche en suggérant des correspondances possibles au fur et à mesure de la frappe.
Ability to add CSS Classes to CTA <a> element from HubL/Custom Module
On the CTA tool, there's a "Custom CSS class" option under "Advanced options" that allows users to add CSS classes that are then applied to the <a> element. I would like for that same option to be available when using the CTA field in a custom module or the CTA HubL tag.
The extra_classes parameter works, but it adds the classes to the span surrounding the CTA and not the <a> element itself.
Use case: currently, if the user has a CTA "Contact Us" and would like to display it in three different colours, they need to create three different CTAs in the CTA Tool to assign each one a class.
If the class can be added from a custom module, then they can use the same CTA and adjust its colour at the page level.
Pour ajouter un commentaire ici, vous devez être inscrit. Si vous êtes déjà inscrit, connectez-vous. Dans le cas contraire, inscrivez-vous puis connectez-vous.