If you have an MVC project created with ePortal Developer 6.1 or earlier, and you wish to use the Unisys Modern Bootstrap Theme, do the following:
If you have not already done so, upgrade your project as described in Upgrading Projects.
Install the NuGet package Unisys.modern.bootstrap.theme into your MVC project as follows:
Open the existing solution in Visual Studio.
Right-click the MVC project in Solution Explorer and select Manage NuGet Packages….
From the Package source list, select Unisys ClearPath ePortal Packages and click Browse.
In the left pane, select Unisys.modern.bootstrap.theme, and then click Install in the right pane.
The Preview dialog appears.
Click OK to start the installation.
Edit the file Site.css to set the correct padding on the top of the body element as follows:
In Solution Explorer, navigate to the Content folder under the MVC project.
Double-click the file Site.css to open it in the editor.
In the editor window, set padding-top on the body element to 65px.
Save the file.
Conversely, if you are using the Unisys Modern Bootstrap Theme, but you want to revert to the Default Bootstrap Theme, do the following:
Open the existing solution in Visual Studio.
Edit the file BundleConfig.cs to specify the correct files to include on each page, as follows:
In Solution Explorer, navigate to the App_Start folder under the MVC project.
Double-click the file BundleConfig.cs to open it in the editor.
In the editor window, find the occurrences of unisys.modern.bootstrap and replace with bootstrap.
Save the file.
Edit the file Site.css to set the correct padding on the top of the body element as follows:
In Solution Explorer, navigate to the Content folder under the MVC project.
Double-click the file Site.css to open it in the editor.
In the editor window, set padding-top on the body element to 50px.
Save the file.
To use some other theme, consult the documentation for that theme. In general, you might need to edit the BundleConfig.cs file in the App_Start folder to control which files are included on each web page in your project.