Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

384
Views
How to upgrade from bootstrap V3.2.0 to V5.1.2 - (button collapse does not work)

I am responsible for SharePoint internet site in my company and this site was built using bootstrap V3.2.0 they want to upgrade this old site to latest version of Bootstrap V5.1.2

my problem is that when I updated the file (bootstrab.min.js) to latest version the menu button in mobile view does not work. In older ver of bootstrap the (.in) class is added to the collapse div While in latest ver it added (.show).

so how do I upgrade the bootstrap to latest version while keeping my site design same? I know that the css file and js file of bootstrap have to be upgraded together and I know there are new api and classes removed from older ver but the problem how to migrate these changes to my site? is there a migration document I can follow ? or a way to solve the collapse of the button because it is the only thing that does not work when I updated the file!

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Welcome, Kazushia! Wow, first question in 5 years of being a user :) Big milestone.

so how do I upgrade the bootstrap to latest version while keeping my site design same

Bootstrap's major versions include some major design changes – alongside major, breaking code changes. I guarantee that "the collapse div" issue you've noted is not the only issue.

That being said, there are migration documents:

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

...unfortunately, the v5 migration path is a really long one.

Ultimately, you might be better off accepting the design differences. As @isherwood noted in a comment, there is no miracle cure here.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!