Skip to main content
Known Participant
March 29, 2024
Question

Update to bootstrap 5

  • March 29, 2024
  • 1 reply
  • 7057 views

How do i update from bootstrap 4 to 5? Can I have both? tia

    This topic has been closed for replies.

    1 reply

    Nancy OShea
    Community Expert
    March 29, 2024

    READ ME first.

     

    1. Links to Bootstrap 5 on the CDN. 

    NOTE:  Latest Bootstrap does not rely on jQuery. 

    DO NOT combine versions of Bootstrap. 

    https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css

    https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js

     

    2. Migrating from old to new Bootstrap, manually.

    NOTE:  New & deprecated classes.

    https://getbootstrap.com/docs/5.0/migration/

     

    Post back if you have questions.

     

    Nancy O'Shea— Product User, Community Expert & Moderator
    Known Participant
    March 30, 2024

    Thank you, Nancy. What happens to what I've created using version 4?

    Known Participant
    March 30, 2024

    Content you've created with version 4 classes will need to be updated to version 5 classes — as described in the migration documentation below.  Read it.

    https://getbootstrap.com/docs/5.0/migration/

     


    Thank you, again. I've read everything I could find on migrating, including this article. I can't see any reason for updating to 5 at this point. I'd have to fix 8 sites, if I did. The change I think I should consider is switching to Wrappler.