Home Forums Basel support forum Register/Myaccount in other Hader Layout

Register/Myaccount in other Hader Layout

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #9794

    Com_AEGIS
    Participant

    Hi Guys,
    Would Love to display your Register/My account on my header but I’m using ‘Base Header’ for my website and it doesn’t display it by default.
    I found this code on the forum but seems like it may be adapted to my header layout option (basel_custom_header_configuration’, ???,??? );
    because it moves my main menu and desactivates my submenus.

    Any Idea ?

    add_filter( 'basel_header_configuration', 'basel_custom_header_configuration', 1, 1 );
    function basel_custom_header_configuration() {
    
    	return array(
    			'container' => array(
    				'wrapp-header' => array(
    					'logo',
    					'main_nav',
    					'right-column' => array(
    						'header_links',
    						'search',
    						'wishlist',
    						'cart',
    						'mobile_icon',
    					)
    				)	
    			),
    	);
    }
    #9795

    Com_AEGIS
    Participant

    Problem was resolved searching on the forum …

    It worked with : `add_filter( ‘basel_header_configuration’, ‘basel_custom_header_configuration’, 1, 1 );

    function basel_custom_header_configuration() {

    return array(
    ‘container’ => array(
    ‘wrapp-header’ => array(
    ‘logo’,
    ‘widget_area’,
    ‘right-column’ => array(
    ‘header_links’,
    ‘search’,
    ‘wishlist’,
    ‘cart’,
    ‘mobile_icon’,
    )
    )
    ),
    ‘navigation-wrap’ => array(
    ‘container’ => array(
    ‘main_nav’
    )
    )
    );

    }`

    #9802

    Artem Temos
    Keymaster

    Hello,

    Thank you for your question.

    Yes, it is a right example to display this element on the Base header structure.

    Kind Regards
    XTemos Studio

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