Knightyyy Posted September 30, 2020 Share Posted September 30, 2020 Hello, I am having abit of an issue with my client area menu when logged in. I have added the marketconnect VPN, website builder and SEO tools so it added an extra menu bar "Website & Security" it was not inline with my other menu i thought it was because all the other menu items had an Icon and this dint so i added the following. <?php use WHMCS\View\Menu\Item as MenuItem; add_hook('ClientAreaPrimaryNavbar', 1, function (MenuItem $primaryNavbar) { $navItem = $primaryNavbar->getChild('Website Security'); if (is_null($navItem)) { return; } $navItem->setLabel('Website & Security') ->setIcon('fa-server'); }); I added an icon but its still not in line. anyone got any ideas on how to fix this? I am using Hostiko WHMCS Material client theme. (https://hostiko.com/) Hope someone can help. Cheers, Matt 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted October 1, 2020 Share Posted October 1, 2020 19 hours ago, Knightyyy said: anyone got any ideas on how to fix this? are the other icons fixed width - e.g do they have fa-fw in their code when you view the page source in the browser ? 0 Quote Link to comment Share on other sites More sharing options...
Knightyyy Posted October 1, 2020 Author Share Posted October 1, 2020 11 minutes ago, brian! said: are the other icons fixed width - e.g do they have fa-fw in their code when you view the page source in the browser ? Honestly im not sure, i had a quick look and al i could really see was it was set out like the others. i can make you an account and give you URL if that helps? 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted October 22, 2020 Share Posted October 22, 2020 On 01/10/2020 at 16:31, Knightyyy said: i can make you an account and give you URL if that helps? sure - but frankly, i'd just need to see the source of the page, specifically the navbar, and that will tell me if there is anything different about this particular child... possibly Hostiko displays/creates the default navbars in a slightly different way. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.