Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #29459

    I need to have modal forms pop up when clicking a button. In order to use plugins for this, I need to be able to add a class to the anchor tag for a button I created using the avia advanced layout editor. The problem is that the page I created is big and has lots of stuff that I built suing the editor, and I can’t see the source code when I switch to the default editor.

    Is there an easy to add my own classes to an anchor tag that’s part of an avia editor element added to a post or page?

    #140694

    Hi,

    Can you post the link to your website please (the big page where the button lays)?

    Regards,

    Josue

    #140695

    Hi pmconsulting

    You can turn on the class field for all of the avia elements by adding the following to your functions.php file:

    add_theme_support('avia_template_builder_custom_css');

    This will allow you to add your own singular class name via a new field at the end of the elements when editing them in the advanced layout editor.

    Regards,

    Devin

    #140696

    Thanks, Devin! What brilliant forethought!

    I love this theme more and more the longer I use it.

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘How to add a class to avia layout editor element’ is closed to new replies.