Jump to content

customising menu


snake

Recommended Posts

So I am trying out the new themeing in whmcs 8

I have created my own theme and a custom.css file

I have change dthe header color and menu colour, but I just cannot get the ACCOUNT menu colour to change.

I have tried so many different combinations, but just cannot get it to change.

 

here is my current css

#mainNavbar #nav li a , .navbar-nav #Secondary_Navbar-Account a{
    color: #ffffff!important;

can anyone enlighten me

Link to comment
Share on other sites

10 hours ago, snake said:

can anyone enlighten me

if I use the following CSS, I can make element red, white or blue...

.navbar-nav #Secondary_Navbar-Account a { background-color: #ff0000; color: #ffffff}
#mainNavbar, .dropdown-menu { background-color: #0000ff !important; }

Eqx0FA4.png

Link to comment
Share on other sites

14 hours ago, snake said:

I cannot see any difference between what you have used and what I have used

well your original code didn't have a closing } - but I assumed that was just a copy&paste error here on your part...

if I use your code above from the first post, and use my line to colour the navbar blue (otherwise i'd have white text on a white navbar and that way lies madness for screenshots!)...

S2U6SSK.png

this for me is working on both 21, or a child of 21.

Link to comment
Share on other sites

yes it was just a copy/paste error.

here is my entire css file

header.header{
    background-color: #242424!important;
}


#mainNavbar #nav li a ,.navbar-nav #Secondary_Navbar-Account a{
    color: #ffffff!important;
}
#mainNavbar #nav ul.dropdown-menu li a {
    color: #242424;
}
.cart-sidebar .list-group-item.list-group-item-action.active {
    background: #666666;
}

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