Hi Guys,
Hope you are doing well.
I would need some help regarding a newly created Enfold site where all new content will be added as posts. The problem here is i am using a layout without a top header (Logo + main menu are displayed in left sidebar). However, above the main content section i would need an area which has a similar height to the logo area in the sidebar. Inside this area i would to add a search functionality that should be visible permanently through all posts. Unfortunately i don’t find any solution so far.
For example see Private Content section. The first sample shows the current startpage built with ALB, but second one is finally a purely post which is what we need, but i don’t know how to add a header to his site.
Hey Frank,
Thank you for the inquiry.
We can use the ava_after_main_container hook in the functions.php file to insert additional element above the content. Example:
add_action("ava_after_main_container", function() {
// insert search element here
}, 10);
You may also directly edit the header.php template to insert additional content below the header.
Best regards,
Ismael