Home Forums Basel support forum what is the name of this guy in header configuration?

what is the name of this guy in header configuration?

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #4307

    lxyamerica
    Participant

    what is the name of this guy in header configuration?

    https://i.imgsafe.org/23eb846908.jpg

    function basel_custom_header_configuration() {
    
    }
    #4312

    Artem Temos
    Keymaster

    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

    #4322

    lxyamerica
    Participant

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

    is that possible via header_configuration?

    #4323

    lxyamerica
    Participant

    I want it looks like this

    –LOGO– –WIDGET-AREA(SEARCH)– –SHOPPING CART–
    –CATEGORIES_MENU– –NAV_MENU–

    #4333

    Artem Temos
    Keymaster

    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

    #4374

    lxyamerica
    Participant

    thanks, solved

    #4381

    Artem Temos
    Keymaster

    Great, you are welcome!

Viewing 7 posts - 1 through 7 (of 7 total)