Solved

Selected Tab Background Color - Forced to be White?

  • 19 September 2018
  • 1 reply
  • 40 views

Userlevel 5
Badge +13

We've created a custom theme that changes the background colors of the tabs, but selected and unselected. This has worked well in 4.7. After upgrading, we've found that our custom theme still works well besides for the background color of the selected tab - it is now white instead of green as stated in our theme. Inspecting the styles, we've found that there is now the following bit that seems to be on the form itself (not from CSS) so it always takes prededence over anything in our custom CSS:

.theme-entry .tab-box ul.tab-box-tabs a.tab.selected .tab-wrapper {
    background-color: #FFFFFF !important;
}

 

Is there any to get rid of this? I've hunted through all css files in the SmartForms runtime folder but cannot find where this is coming from.

icon

Best answer by tbyrne777 19 September 2018, 00:11

View original

1 reply

Userlevel 5
Badge +13

True to form, after posting this I found the answer - I had the Page and Form color specified on the form itself, and that seemed to color the selected tab (for some reason). Clearing those properties on the form corrected my issue.

Reply