Site logo

[Support request] Advice about a Bootstrap modal

Home Forums Support [Support request] Advice about a Bootstrap modal

Home Forums Support Advice about a Bootstrap modal

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1813035
    Matthew

    I would like to use a modal from Bootstrap:

    https://getbootstrap.com/docs/4.0/components/modal/

    Do I just reference their CDN and get cracking with the supplied source code for this modal component or is a more nuanced approach recommended?

    And is it safe or are there any issues, with bootstrap and GP etc.

    thanks,

    #1813285
    David
    Staff
    Customer Support

    Hi there,

    thats correct.

    However, Bootstrap is going to load a LOT of CSS that you won’t require, and some of this will possibly ( most likely ) conflict with the themes styles.

    Better to use a modal/pop-up plugin for the WP Repository that doesn’t use Bootstrap.

    #1814162
    Matthew

    Thhat’s what I was wondering as I tried the W3schools framework too.

    I placed in the link to their CDN and it changed around all my styles on everything. Which is not ideal.

    So you can’t have any of these frameworks for selective components then?

    #1814190
    Elvin
    Staff
    Customer Support

    Hi Matthew,

    So you can’t have any of these frameworks for selective components then?

    Frameworks are huge. It’s hard to tell which one will conflict with what so the grueling task of looking for specifics may make the implementation of frameworks not worth doing.

    Small and specific libraries can be implemented though. Because this for these ones, you’re exactly sure what they do. And even if you’re not, the library is small enough to skim around and have an idea of what it does fully.

    Example would be – http://bootboxjs.com/

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.