what is the name of this guy in header configuration?
-
what is the name of this guy in header configuration?
https://i.imgsafe.org/23eb846908.jpg
function basel_custom_header_configuration() {
}
Hi,
Do you mean name of the block that you can add to your custom header configuration to show categories menu? So its name is “categories_menu”
Regards
not quite work.. it only shows the text but no dropdown menu..i find that in template-tas.php, the categories-menu also contains categories-dropdown and show on hover.
To make this simple, i change my header “header with categories” style. i want to exchange nav_manu and search-extend position. please see image.

is that possible via header_configuration?
I want it looks like this
–LOGO– –WIDGET-AREA(SEARCH)– –SHOPPING CART–
–CATEGORIES_MENU– –NAV_MENU–
Okay, so try to add the following code snippet to the functions.php file in the child theme
add_filter( 'basel_header_configuration', 'basel_custom_header_configuration', 1, 1 );
function basel_custom_header_configuration() {
return array(
'container' => array(
'wrapp-header' => array(
'logo',
'search_extended',
'right-column' => array(
'wishlist',
'cart',
'mobile_icon',
)
)
),
'secondary-header' => array(
'container' => array(
'categories_menu',
'main_nav',
)
)
);
}
Regards