Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Blocking common.css on Force.com sites to prevent conflict with Bootstrap.css?

Tags:

salesforce

Salesforce is injecting commmon.css stylesheets into my pages, causing a conflict with some Bootstrap.css templates I'm using. Is there any way to block the common.css from being injected into my pages? I haven't manually included it anywhere and it's a headache.

Many thanks-

like image 270
Hairgami_Master Avatar asked Jan 18 '26 05:01

Hairgami_Master


1 Answers

Did you try the standardStylesheets attribute of the Page component?

<apex:page standardStylesheets="false" />
like image 168
Jeremy Ross Avatar answered Jan 19 '26 19:01

Jeremy Ross



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!