How to change bootstrap theme for asp.net web form?

  • Thread starter Thread starter bkoo
  • Start date Start date
B

bkoo

Guest
Hello,

I'm currently running visual studio 2013 update 2. I am trying to make a ASP.NET WEB FORMS APPLICATION in Visual C#.

I wanted to change the current bootstrap theme to a different one (from bootswatch).I have already installed nuget and installed bootstrap.

I tried these steps below... But it does not work.

(Creating ASP.NET Web Projects in Visual Studio 2013)


  1. In your browser, go to bootswatch, choose a theme, and then click Download. (This downloads bootstrap.min.css by default; if you want to examine the CSS code, get bootstrap.css instead of the minified version.)
  2. Copy the contents of the downloaded CSS file.
  3. In Visual Studio, create a new Style Sheet file named bootstrap-theme.css in the Content folder and paste the downloaded CSS code into it.
  4. Open App_Start/Bundle.config and change bootstrap.css to bootstrap-theme.css.

The main problem I'm running into, other than it not changing the theme, is underApp_Start/Bundle.config, there is no bootstrap.css or bootstrap-theme.css.

Could someone provided very, very detailed instructions on how to change the default theme?

Thanks!

Continue reading...
 
Back
Top