Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #211544

    hello
    You give the possibility to add some ID to avia-section, well, good, but what if want to use class instead?
    I need to style both 5 avia-sections with a single CSS class…
    thanks

    #211680

    Hi pako69!

    You can add a unique selector for each Avia Elements. Edit functions.php, find this code:

    if(isset($avia_config['use_child_theme_functions_only'])) return;

    Below, add this code:

    add_theme_support('avia_template_builder_custom_css');

    Edit any avia elements then look for “Custom Css Class”.

    Best regards,
    Ismael

    #211875

    Hello Ismael
    I’m using a theme child and i don’t like to put things into your original functions.php.
    Can i just add:
    add_theme_support('avia_template_builder_custom_css');
    into my child functions.php ?
    Thanks

    #211879

    Hi!

    Yes, the online docs have an example as well: http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/

    Cheers!
    Devin

    #211883

    ;-)
    SOLVED

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘add class to avia-section?’ is closed to new replies.