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
Vaishnavi SivanathVaishnavi Sivanath 

How to remove the common.css from force.com sites?

I have a site page and a site template. Site template is embedded in the site page. I have set <apex:page StandardStyleSheets =false, showHeader=false, sidebar=false> for both site page and template. My requirement is to search for an issue in the site and it displays the relevant articles. Common.css is not injected till this part. But after clicking on one of the article, common.css is injected and it is overriding my style elements. How to resolve this issue?


Thanks in advance!!
Abhilasha_SinghAbhilasha_Singh
Hi Vaishnavi,
You can also try to set sidebar="false" and showHeader="false" with standardStyleSheets="false" in apex:page. This will show up a balnk page and it will a plain HTML page without any standard style of salesforce.

Thanks