Home › Forums › Basel support forum › My account icon disappears when selecting simplified header layout
My account icon disappears when selecting simplified header layout
- This topic has 9 replies, 2 voices, and was last updated 4 years, 1 month ago by Elise Noromit.
-
AuthorPosts
-
October 20, 2020 at 10:27 pm #234864
Missalyssa8042ParticipantI 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.October 21, 2020 at 7:59 am #234934
Elise NoromitMemberHello,
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
October 21, 2020 at 2:12 pm #235063
Missalyssa8042ParticipantThanks! 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.October 21, 2020 at 3:31 pm #235092
Elise NoromitMemberHello,
Please provide your site admin access I will check if it is possible to do something.
Best Regards
October 21, 2020 at 5:44 pm #235114
Missalyssa8042ParticipantSending admin info to you privately. Please let me know if you can help.
October 22, 2020 at 7:28 am #235230
Elise NoromitMemberHello,
Please provide your login URL
Best Regards
October 22, 2020 at 1:59 pm #235397
Missalyssa8042Participanthere you go!
October 23, 2020 at 9:50 am #235578
Elise NoromitMemberHello,
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
October 23, 2020 at 3:53 pm #235666
Missalyssa8042ParticipantAmazing – that works. Thank you SO much!
October 23, 2020 at 9:02 pm #235704
Elise NoromitMemberWe 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
-
AuthorPosts
- You must be logged in to create new topics. Login / Register