Home Forums Basel support forum Add the icon "My account"

Add the icon "My account"

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #30121

    lelikletter
    Participant

    Hi, how can I add the icon “My account”

    Attachments:
    You must be logged in to view attached files.
    #30132

    Artem Temos
    Keymaster

    Hi,

    By default, this header layout doesn’t have Login/Register link. But you can add it manually placing 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',
    				'widget_area',
    				'right-column' => array(
    					'header_links',
    					'search',
    					'wishlist',
    					'cart',
    					'mobile_icon',
    				)
    			)
    		),
    		'navigation-wrap' => array(
    			'container' => array(
    				'main_nav'
    			)
    		)	
    	);
    }

    Regards

    #30145

    lelikletter
    Participant

    I used your code, but I’m lost , lost menu product categories and search

    Attachments:
    You must be logged in to view attached files.
    #30212

    Artem Temos
    Keymaster

    Hello,

    Sorry for that, the code is for a different header. Try to use this one instead

    
    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',
    					'wishlist',
    					'cart',
    					'mobile_icon',
    				)
    			)	
    		),
    		'secondary-header' => array(
    			'container' => array(
    				'categories_menu',
    				'search_extended',
    			)
    		)
    
    	);
    }
    

    Regards

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