Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

385
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda