"Show links to login/register or my account page in the header" not working
-
Hello,
I’m using “Base header” and want to show the myaccount links “Show links to login/register or my account page in the header”. Somehow they don’t show up, neither TEXT nor ICON. Please advise.
Regards
Dorian
Hello,
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
Thx, that worked.
I also realized there’s a bug (on my site and in your demo):
Please compare https://demo.xtemos.com/basel/?head1 in Firefox and Chrome browsers.
Seems like the min-height
of the .wrapp-header
does not get applied in Firefox.
Regards,
Dorian
Hello,
Thank you for the information. We shall take it into consideration.
Best Regards
Hello,
You can use this code while we release the update where this problem would be solved:
.browser-Firefox .wrapp-header {
height: 0;
}
Add this code to the Theme Settings > Custom CSS > Global
Best Regards
You are welcome! If you have any questions please feel free to contact us.
Best Regards
The topic ‘"Show links to login/register or my account page in the header" not working’ is closed to new replies.