Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #247523

    Hi evreyone,

    I want to add a special id to my titles, because i want to create an internal link

    <a href="#my_link"> If you want to go at this info click here</a>
    <h2 id="my_link">Titre</h2>
    

    I just don’t know how to add a special Id to my Headings. Can i see the code that AVIA generate for each page and edit it somewhere ?

    Any idea ?

    • This topic was modified 10 years, 8 months ago by antoinebro.
    #247537

    I found a solution

    #1

    Edit function.php, find this code:

    if(isset($avia_config[‘use_child_theme_functions_only’])) return;
    Below, add this code:

    //set builder mode to debug
    add_action(‘avia_builder_mode’, “builder_set_debug”);
    function builder_set_debug()
    {
    return “debug”;
    }

    #2

    put a

    <div id=”yourid”>

    THE TILE GENERATE BY AVIA
    </div>

    ;)

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘How to add a special id to a H1/H2 ?’ is closed to new replies.