This article contains instructions to upgrade your eWeb Site to Bootstrap Version 5.2.2.
To upgrade your eWeb Site to Bootstrap Version 5.2.2, complete the following tasks:
- Edit the website and select Bootstrap 5 for the Bootstrap js:
- Go to the CMS module and expand the Manage Websites group item.
- Click the List Websites group item link. This will display the Edit Web Site form.
- Click the Edit button. This will display the Edit Web Site window.
- Select the Bootstrap 5 option from the Bootstrap js field and click the Save button.
- This will load a JavaScript file that contains the bootstrap.bundle.js along with the contents of bootstrap.migration.js. The migration file run JavaScript that will make necessary changes to page HTML to worked with Bootstrap 2 so that it will work with Bootstrap 5.
- Make a copy of the bootstrap.migration.css from the demo theme and add it to your site theme. Include the file in your site.css.
- The demo site.css file was updated to include a new bootstrap.migration.css file that is necessary for the demo site to work with Bootstrap 5. Path: eweb/Content/Themes/demo/site.css
- Note: The Bootstrap 5 files are built based on NetForum internal demo site. You may encounter issues using Bootstrap 5 on your eWeb site that may require additional JavaScript or CSS styling changes.