Hi,
I would like to add some graphic banner between header and breadcrumb. How can I do this?
Hi GIEKApl!
Please see – http://kriesi.at/documentation/enfold/adding-a-widget-area-to-the-header/
You need to adjust CSS code accordingly to display your image in desired area
Regards,
Yigit
I already have one additional widget area in header. How do I add another?
Thanks
Hey!
You can another dynamic_sidebar function inside the filter:
add_action( 'ava_after_main_menu', 'enfold_customization_header_widget_area' );
function enfold_customization_header_widget_area() {
dynamic_sidebar( 'forum' );
dynamic_sidebar( 'single product pages' );
}
Change the name of the dynamic_sidebar.
Cheers!
Ismael
I am doing something wrong. I have in fuction.php:
add_action( ‘ava_before_main_menu’, ‘enfold_customization_header_widget_area’ );
function enfold_customization_header_widget_area() {
dynamic_sidebar( ‘header’ );
}
when I added yours:
add_action( ‘ava_after_main_menu’, ‘enfold_customization_header_widget_area’ );
function enfold_customization_header_widget_area() {
dynamic_sidebar( ‘banner’ );
}
it caused error
“Fatal error: Cannot redeclare enfold_customization_header_widget_area() (previously declared in…”
Hi!
Please change the code to following one
add_action( 'ava_after_main_menu', 'enfold_customization_header_widget_area_banner' );
function enfold_customization_header_widget_area_banner() {
dynamic_sidebar( 'banner' );
}
You cannot declare two functions with the same name
Regards,
Yigit
Thanks :)