How can I change the background color of a PopupImageMenu?

Just starting out? Need help? Post your questions and find answers here.
Stefan
Posts: 275
Joined: Mon Feb 05, 2018 9:44 pm

How can I change the background color of a PopupImageMenu?

Post by Stefan »

Is that possible?
Stefan
Posts: 275
Joined: Mon Feb 05, 2018 9:44 pm

Re: How can I change the background color of a PopupImageMenu?

Post by Stefan »

I have found a solution:
You have to insert the code at the beginning of your program.

Code: Select all



! $("head").append("<style>" +
! "  .dijitMenu { background-color: #fbf8f5 !important; border: 1px solid #34495e !important; }" +
! "  .dijitMenuItem { color: #3d4e4f !important; }" +
! "  .dijitMenuItemHover { background-color: #3498db !important; color: #ffffff !important; }" +
! "</style>");

Post Reply