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.
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
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
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