If you only want ONE page to use it, why not just output the customized Bootstrap CSS files on that one page, and the standard CSS files on everything else?
Can I have customized versions of boostrap 3 in the same site?
-
21-07-2023 - |
Question
I downloaded a customized version of bootstrap 3 from the web (I changed the number of columns to 7), but my website uses zf2 which comes packaged with bootstrap 3. How can I have a page of my website use this customized version and have the rest of the site use the standard build?
Will I have to do something with LESS? I'm just unsure of how this would work or if it can work at all.
I tagged this with zf2 because that is my specific use case, but this is more a general boostrap, css question.
Solution
OTHER TIPS
No, since both versions of bootstrap use the same class names, you can not use multiple instances of bootstrap on the same page.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow