Home Forums Basel support forum My account icon disappears when selecting simplified header layout

My account icon disappears when selecting simplified header layout

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #234864

    Missalyssa8042
    Participant

    I need the exact layout as ‘simplified’ – logo to the left, followed by categories, then search/cart on right – BUT when I select this the account icon disappears…I need this so customers can get to their accounts. To note, this happens with other headers like the ‘base header’ too. How do I resolve?

    screenshots attached.

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

    Hello,

    Thank you very much for choosing our theme and for contacting us.

    By default, this header layout doesn’t have Login/Register link. But you can add it manually by 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'
    			)
    		)	
    	);
    }

    Best Regards

    #235063

    Missalyssa8042
    Participant

    Thanks! This added the account icon in the header!

    Only issue is that it changed the header to look like ‘base header’ now vs. the ‘simplified header’ I need (logo on first line left, then categories on second line left). I attached a screenshot of what it looks like now.

    I want it to look like the second screenshot, the ‘simplified header’ (logo on first line left, then categories on SAME line), but with the my account icon as mentioned. I have it selected in the header theme options, but I think this code overrode it and changed it.

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

    Hello,

    Please provide your site admin access I will check if it is possible to do something.

    Best Regards

    #235114

    Missalyssa8042
    Participant

    Sending admin info to you privately. Please let me know if you can help.

    #235230

    Hello,

    Please provide your login URL

    Best Regards

    #235397

    Missalyssa8042
    Participant

    here you go!

    #235578

    Hello,

    Please replace the custom code with this one:

    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',
    					)
    				)	
    			),
    		);
    }

    Best Regards

    #235666

    Missalyssa8042
    Participant

    Amazing – that works. Thank you SO much!

    #235704

    We are always happy to help you, write to us when you have any difficulties or issues with our theme.

    We would be grateful for 5 stars rate on http://themeforest.net/downloads in case you are satisfied with our theme and customer service

    Thank you in advance

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