I changed the colours for all the various states (default, hover, etc.) to match my theme and everything looked fine when the menu (and dropdown) was accessed from the top of the page. However, scrolling the page (or clicking anywhere to cause the header background to be displayed [initially transparent]) resulted in the drop-down menu items being displayed in the wrong text colour. After much head-scratching, I discovered that the HTML object ('affix header') supplied with the template also contains code which specifies colours for ".dropdown-menu" - but this was not being updated by the program when I modified them via the menu's Properties dialog.
I edited the HTML object and changed:
Code: Select all
#wb_header.affix .headerMenu .dropdown-menu > li > a
{
color: #4f4f4f !important;
}
Code: Select all
#wb_header.affix .headerMenu .dropdown-menu > li > a:hover
{
color: #032243;
}
#wb_header.affix .headerMenu .dropdown-menu > li > a:focus
{
color: #FFFFFF !not sure I need to do this?;
}
Is this a bug - or is editing the HTML object something which needs to be done by the user if changing the colours via the Properties dialog?
On a sort of related subject - the only way I could find to change the background colour of the header was by modifying:
Code: Select all
#wb_header.affix
{
background: #2C5C93;
transition: all 500ms linear;
}