Bootstrap v2 and Concrete5

Permalink
I have a site I have developed using Bootstrap v2.0
I know Concrete5 comes with Bootstrap v1.4, is there a way for me to use 2.0 and how do I go about doing it?

Thanks!

 
Mnkras replied on at Permalink Reply
Mnkras
You can use bootstrap 2.0 with c5 with only a few changes, concrete5.5.3+ will use bootstrap 2.0.3.

You mainly have to wrap all the bootstrap classes with your own wrapper class.

Mike
jm3044 replied on at Permalink Reply
Would you mind posting an example of what you mean?

Thanks,
Mnkras replied on at Permalink Reply
Mnkras
.some-bootstap-class { /*css*/ }

#mywrapper .some-bootstap-class { /*css*/ }
jm3044 replied on at Permalink Reply
So I have to go through the entire bootstrap css and change all of them?
Mnkras replied on at Permalink Reply
Mnkras
yea, or you could take the .less files and do

#myWrapper {
    .some-bootstrap-class {}
    .another-class {}
}


and compile them (faster)
jm3044 replied on at Permalink Reply
So then I just put a wrapper on the page, and good to go then?
Mnkras replied on at Permalink Reply
Mnkras
I think so, you might need to do some minor fixing though
xaritas replied on at Permalink Reply
I've had good results just dropping in unmodified bootstrap. So you might just try that before building your own.