I have a multimerch module.
In default, when logged in, MM has lots of menus in the dropdown.
I also want to add those in pavilion
It is possible to add menus on header and will only appear when logged in?
|
|
Hi,
There are helper classes to show/hide menus based on whether the user is logged or not.
/* Add this class to menus you want to be hidden when the user is logged in */
tb_menu_system_account_login
/* Add this class to menus you want to be visible when the user is logged in */
tb_menu_system_account_logout
http://i.imgur.com/hEIwZhA.png
BR,
ThemeBurn team
|
|
This is working.
I would also like to make a divider with a label. Just line in multimerch attached
But when I put divider as Menu Item, it is just an empty space
|
|
I manage to do it by putting header. But I have 2 more queries.
1. I want to make it bold
2. The header does not disappear when logged out even when I put the classes
Attached
|
|
Will the support ever coming back?
|
|
Hi,
1) Menu block in Page Builder has typography options that can control font weight:
http://i.imgur.com/xrdj6Xt.png
2) You need to add this extra code to fix the menu header that does not disappear:
body.is_logged .tb_menu_system_account_login,
body:not(.is_logged) .tb_menu_system_account_logout,
body.is_affiliate_logged .tb_menu_system_affiliate_login,
body:not(.is_affiliate_logged) .tb_menu_system_affiliate_logout
{
display: none !important;
}
Add these styles from the Theme CP > Theme Settings > Custom > Custom Stylesheet text field.
BR,
ThemeBurn team
|
|