tappatappa Posted October 28, 2016 Share 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. Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted October 28, 2016 Administrators Share Posted October 28, 2016 You can also add "!important" to your code. Link to comment Share on other sites More sharing options...
tappatappa Posted October 28, 2016 Author Share 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! Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted October 28, 2016 Administrators Share Posted October 28, 2016 .x-menu-body { background: #FFFFFF !important; color: #809CA7; } Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now