Replace Default Vanilla Modals With Bootstrap Modals

CaioCaio
edited May 2012 in Vanilla 2.0 - 2.8

I was wondering how to replace the default Vanilla modals with the bootstrap modals for things such as comments and profile editing. Can I edit it through the theme? If so, please provide instructions on how to do it.

Best Answers

  • 422422 MVP
    Answer ✓

    Try replacing Popin with twitter modal class .

  • 422422 MVP
    Answer ✓

    The vanilla modal is fired by class popin i believe. You will need to find out the class bootstrap uses, and then locate where popin is fired so that you can change class names.

Answers

  • 422422 MVP
    Answer ✓

    Try replacing Popin with twitter modal class .

  • Can you elaborate a bit more on that please?

  • 422422 MVP
    Answer ✓

    The vanilla modal is fired by class popin i believe. You will need to find out the class bootstrap uses, and then locate where popin is fired so that you can change class names.

  • thank you

  • UnderDogUnderDog MVP
    edited May 2012

    422 said:
    The vanilla modal is fired by class popin i believe.

    It's either 'popin' or popup. For example:

    < a href="http://www.vanillaskins.com" rel='popup' >VanillaSkins< /a >

    Test with case sensitiveNess

Sign In or Register to comment.