tappatappa Posted October 28, 2016 Posted October 28, 2016 I need to change the background color and font color of popupmenu, mainmenu etc components. I thought it would be sufficient to do this CustomCSS: .x-menu-body { background: #FFFFFF; color: #809CA7; } But this doesn't change a thing. I have found this code in uni_win10 css .x-menu-body{ border-radius:"1px"; border-width:"1px"!important; border-style:"solid"; border-left-color:#ccc; border-top-color:#ccc; border-right-color:#ccc; border-bottom-color:#ccc; background:white; background:#f0f0f0!important } i am guessing that the !important is preventing me from overriding the background color. Quote
Administrators Farshad Mohajeri Posted October 28, 2016 Administrators Posted October 28, 2016 You can also add "!important" to your code. Quote
tappatappa Posted October 28, 2016 Author Posted October 28, 2016 Hi, Farshad thanks for the tip, but what does it mean? And why did you put that annotation in the first place? I don't want to break the CSS with a bg color! Quote
Administrators Farshad Mohajeri Posted October 28, 2016 Administrators Posted October 28, 2016 .x-menu-body { background: #FFFFFF !important; color: #809CA7; } Quote
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.