I modified bootstrap.css using LESS so I can use Bootstrap only inside of a <div class=”tw-bs”></div> element. Here is my bootstrap.css:
http://pastebin.com/68yRSc1u
Now I’m trying to use tooltips and modals with the following code:
http://pastebin.com/GBFYN6U2
However, nor modals, neither tooltips don’t work.
Please advice!
make sure the paths to your js files are correct,
Changing all of the CSS makes the coding for the modals and tooltips broken because their appended to the body, document, or the parent of its element. If you need to have the
tw-bsclass on everything, I’d recommend trying to put it on the<html>or<body>tag first, if that doesnt work then taking out the.tw-bsbefore all.modal,.popover,.tooltip,.carousel, and `.collapse’ classes in CSS to fix it. Some of these classes are set within the JS fileand to get the tooltips to work you would do