Change Color and Font Size of Tab Set
I would like to know if anyone has experimented on changing the Font Size and Color of Tab sets and Sections in Layout of an application or Questionnaire ?
Or, let's say, Is that something possible ?
@Archer6.9 @custom objects
For tabs, you can use the below. Just get the tab ID of corresponding tab and replace "3611" in below code with that.
$('li[class*="tab_3611"] > a').attr("style","background-color:green;"); $('li[class*="tab_3611"] > a > span > span > span').attr("style","color:white;font-size:20px;");
Hey Arun, is it possible to combine your custom code with a condition? For example, say I have 5 tabs each representing a different application, but the tab only changes to red while the XREF is populated.
If the XREF fields are within the tabs, then we need to have 5 numeric/text calculated fields (5 tabs = 5 fields) at the parent record level to get the count of records in those XREFs. And based on the calculated field value, you can toggle the tab color using the custom code. Say, red for no records and green for non-empty XREF grid.
Note: The color changes will happen only after the parent record save, as it relies on calculation.