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

    Hi,
    I can’t find where I have to write some custom code to display it after the <div class="main_color container_wrap fullsize"> and before <div class="container"><main role="main" itemprop="mainContentOfPage" class="template-page content av-content-full alpha units"> in a page created with the template builder (Avia Layout Editor).

    I have to recreate something like this:

    <div class="main_color container_wrap fullsize">		
    <div class="MY-CUSTOM-CODE"></div>
    <div class="container"><main role="main" itemprop="mainContentOfPage" class="template-page content  av-content-full alpha units">

    Thanks.

    #488002

    Hey ORIZONS3!

    You will need to create a child theme and then modify the theme pages from there.
    Are you capable for such kind of editing?

    Cheers!
    Basilis

    #488343

    Hi!
    Thanks for the answer!

    Yes, I’am a quite good programmer.
    I already tried to edit page.php but it works only if I create a page without the Advanced Layout Editor.
    I can’t find where the page is built in the template-builder..

    Cheers

    #489201

    Hey!

    Try adding this at the very end of your theme / child theme functions.php file:

    add_action('ava_after_main_container', function() {
    	?>
             code
            <?php
    });

    Cheers!
    Josue

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.