Comments hanns08 started the conversationNovember 30, 2020 at 8:25amHi, I am trying to change the skin to ‘navy’, but whenever I edit the following: skins: { sidebarMenu : ’’, horizontalMenu : ’’, userInfoNavbar : ’’ }, to ‘navy’ or ‘Navy’. nothing changes. I also add this code in my controller.js (below $layout.loadOptionsFromCookies()), but nothing changes. $layout.setOptions('skins.sidebarMenu', 'navy'); $layout.setOptions('skins.horizontalMenu', 'navy'); $layout.setOptions('skins.userInfoNavbar', 'navy'); Can you help? Thanks[deleted] repliedDecember 2, 2020 at 9:25amHi hanns08,If skin changing is not working that way, you can apply it directly to body with this code: function setNavySkin() { $( 'body' ).addClass( 'skin-navy horizontal-menu-skin-navy user-info-navbar-skin-navy' ); }This is equivalent to your previous code in your reply.hanns08 repliedDecember 3, 2020 at 8:28amHi Arlind,I am newbie in here. Where I could put this code ? function setNavySkin() { $( 'body' ).addClass( 'skin-navy horizontal-menu-skin-navy user-info-navbar-skin-navy' ); } [deleted] repliedDecember 4, 2020 at 8:43amYou can place this code in your file that you are doing your customization, or even add it in angular files defined by Xenon xenon-custom.jsThen you can access this function from Angular controllers or anywhere else. Sign in to reply ...
Hi,
I am trying to change the skin to ‘navy’, but whenever I edit the following:
skins: { sidebarMenu : ’’, horizontalMenu : ’’, userInfoNavbar : ’’ },
to ‘navy’ or ‘Navy’. nothing changes.
I also add this code in my controller.js (below $layout.loadOptionsFromCookies()), but nothing changes.
Can you help?
Thanks
Hi hanns08,
If skin changing is not working that way, you can apply it directly to body with this code:
This is equivalent to your previous code in your reply.Hi Arlind,
I am newbie in here. Where I could put this code ?
You can place this code in your file that you are doing your customization, or even add it in angular files defined by Xenon xenon-custom.js
Then you can access this function from Angular controllers or anywhere else.