2

I am learning mvc/asp.net in visual studio 2013 and want to try my hands on a first web application. Only thing is I don't like the default jumbotron template/theme that it comes with. I went to getbootstrap.org and I like the carousel or flatly templates/themes.

I have been scouring the net for any tutorial or resource to help me change the default theme in vs2013 with no success. So I wanted to know if anyone can help me get to the bottom of this. Just a how to swap templates/themes out from vs20xx so that I can create different templates/themes as I please.

halfer
  • 19,824
  • 17
  • 99
  • 186
Joseph Izang
  • 766
  • 1
  • 13
  • 43

1 Answers1

7

There are many sites will provide you free Bootstrap templates, as http://bootswatch.com/, checkout e.g. amelia; download and rename theme and copy theme Amelia.css [you can name it as you want] in to your Content folder, in APP_Start.BundleConfig.cs Update RegisterBundles() method as:

bundles.Add(new StyleBundle("~/Content/css").Include(
"~/Content/bootstrap.css", "~/Content/Amelia.css"));

Remember to have your theme name last e.g. Amelia.css in bundle.add. Folder Run project and you will see rendered theme.

brasofilo
  • 25,496
  • 15
  • 91
  • 179
Raj
  • 114
  • 4