• Ak khan
  • NEWBIE
  • 0 Points
  • Member since 2013

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 2
    Replies

For an application that I'm building I'm trying to incorporate the Twitter Bootstrap CSS libraries, but there are a couple instances of this causing conflicts with the default Visualforce CSS. The most obvious instance is when trying to use a button other than the default, e.g.

 

<apex:button value="Click Me" styleClass="btn btn-primary"/>

This results in a button that's somewhere between Visualforce's default and the intended final result.

 

I know that the standard stylesheets can be turned off entirely, but I don't want to remove the header in order to do it.

 

One solution I can think of is to try and tell Visualforce that the Bootstrap libraries should have a higher priority, but I'm not sure how to do it, if it's even possible.

 

Any help would be appreciated.