snake Posted January 6, 2021 Share Posted January 6, 2021 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 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted January 6, 2021 Share Posted January 6, 2021 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; } 0 Quote Link to comment Share on other sites More sharing options...
snake Posted January 6, 2021 Author Share Posted January 6, 2021 I cannot see any difference between what you have used and what I have used yours .navbar-nav #Secondary_Navbar-Account a mine .navbar-nav #Secondary_Navbar-Account a 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted January 7, 2021 Share Posted January 7, 2021 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!)... this for me is working on both 21, or a child of 21. 0 Quote Link to comment Share on other sites More sharing options...
snake Posted January 7, 2021 Author Share Posted January 7, 2021 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; } 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted January 8, 2021 Share Posted January 8, 2021 this is what i'm seeing with your code in a child theme... 0 Quote Link to comment Share on other sites More sharing options...
snake Posted January 8, 2021 Author Share Posted January 8, 2021 I have no idea why, but it has just mysteriously started working. I had cleared the template cache and my browser cache and even put cloudflare into dev mode. other css changes were working, just not this one. 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.