Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

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

  • Options
    422422 Developer MVP
    Answer ✓

    Try replacing Popin with twitter modal class .

    There was an error rendering this rich post.

  • Options
    422422 Developer 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.

    There was an error rendering this rich post.

Answers

  • Options
    422422 Developer MVP
    Answer ✓

    Try replacing Popin with twitter modal class .

    There was an error rendering this rich post.

  • Options

    Can you elaborate a bit more on that please?

  • Options
    422422 Developer 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.

    There was an error rendering this rich post.

  • Options

    thank you

  • Options
    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

    There was an error rendering this rich post.

Sign In or Register to comment.