function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

sectionHeader from Tab Style, without the Tabs?

This is probably a dumb question, but I've been fiddling around with this for a while and can't figure it out...


I have some Visualforce Tabs with a nice color scheme and custom icons.


I want to reference those tab styles in my VF Sites page so the sectionHeader will pick up the color scheme and the icon...but I don't want tabs.


If I set showHeader="false" on my page to get rid of the tabs, the sectionHeader turns gray, and I lose the icon.


If I create a pageBlock and reference the tab style, and then put a sectionHeader within the pageBlock, I get the color scheme, but lose the icon.


If I create a sectionHeader before the pageBlock, the section header loses both the color scheme and the icon.


Is there a way to use a sectionHeader within a VF Sites page where the page showHeader="false" (because I don't want the tabs) but somewhere on the page reference the tab style so the sectionHeader picks up both the color scheme and the icons?

Best Answer chosen by Admin (Salesforce Developers) 
Take a look at this earlier post.