Jump to content

Market Connect Menu not inline


Recommended Posts

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

menuinline.png

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

  • 3 weeks later...
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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated