Find your content:

Search form

You are here

how to change the object tab colour


how to change the object tab colour of opportunity to account tab colour to match the related list of account

<apex:page standardcontroller="Account" extensions="controller" tabstyle="Opportunity"> <apex:form > <apex:sectionheader title="Subscriptions" />

to make whole account detail record page look like one style rather than in different style

Attribution to: user1816707

Possible Suggestion/Solution #1

try using tabstyle="account" that should pull all colors related to the account tab.

Updated again with setup attribute:

<apex:page standardcontroller="Account"  tabstyle="Opportunity" extensions="controller" setup="true">
 <apex:form > 
 <apex:sectionheader title="Subscriptions" />
 <apex:pageblock tabstyle="account" title="Account Style">
 <apex:inputfield value="{!}"/>

Attribution to: Rao

Possible Suggestion/Solution #2

Was looking at this blog and it says you can create your own style and own image and use the same .

.accountTab .tabNavigation .tab .currentTab, .accountTab #contentWrapper #motifCurve,    .accountTab #contentWrapper #motifCurve div {
background-color: #f00;

This was technique used .That is by using inspect element you can overide the CSS .Observing the CSS in chrome inspect element may help.

Attribution to: Mohith Shrivastava
This content is remixed from stackoverflow or stackexchange. Please visit

My Block Status

My Block Content