asp.net-mvc


ASP.NET MVC4 + Bootstrap 3 How to apply a different theme?


I am trying the new Visual Studio Version, which comes with the built-in Bootstrap Template. Since I wanted to use Bootstrap 3, I upgraded all files according to a helpful thread: ASP.NET MVC 5 and Bootstrap 3
This works fine, but I have trouble to apply a different Theme.
As far as I understand, I can simply replace the bootstrap.css with a different theme and the theme "should" work (I deduced this from http://bootswatch.com/) - but for me the Thema always stays at the ASP.NET default, which I doesn't like.
So: How can I change the damned theme? Ideally, I want to use: http://bootswatch.com/cerulean/
Thank you very much.
Bootstrap's css comes in 2 files: bootstrap.css and bootstrap-theme.css.
I didn't see how it is implemented in mvc5 template, but I'm pretty sure it is done using bundles. So, you got to check the bundles.cs file and replace bootstrap-theme.css there with theme of your choice.

Related Links

Removing Default Text from TextArea created using #Html.TextAreaFor
Asp MVC6 anchor taghelper area
MVC6 putting the script in the custom taghelper in a #section Scripts{ } container
Strange Behavour with MVC Razor Syntax
can not show event on fullcalender dynamically in asp.net mvc
Mvc flash message as a partial view
Handle IActionResult in MVC6
i use paypal but return responce in asp.net mvc 4
I'm implementing handsontable, where i need show the excel data in handsontable
hi i want the substring of a string in #html.displayfor(modelItem=>item.resumelink)
asp mvc 6 include ckeditor via bower
IdentityManager.AspNetIdentity and MVC 5.0 Application work with different role claimtype
Disable Secure Cookies While Debugging
Error in Updating dbModel of entity framework
Database First with Multiple Tables with Foreign Keys in a Single View
How we can show “No Data Available” message in RDLC Reports via Resources files

Categories

HOME
demandware
lua
jsessionid
garbage-collection
stack
geany
openvpn
spi
r-caret
plotly
pymc3
axure
jscrollpane
axios
web-audio
py4j
nice-language
jqplot
vnc
paket
udid
python-responses
charts.js
swipe
photo-gallery
groove
subtotal
webcenter
jdk1.6
xaf
ecmascript-4
transpose
caldroid
symfony-process
rft
consistency
monogame
xargs
dump
ternary
derbyjs
harvest-scm
playback
jahia
jvm-arguments
kombu
vistadb
ubuntu-15.04
olingo
data-fitting
hyperterm
ios-frameworks
strace
flexigrid
xelement
radix-sort
sejda
quasar
spymemcached
oboe.js
heroku-toolbelt
maven-cargo
vbo
solr-boost
physx
django-postgresql
concurrentdictionary
syndication-feed
dirpagination
serverside-javascript
antisamy
blueprint
onejar
mod-python
firebird2.1
ccombobox
virtual-earth
speaker
guvnor
documentviewer
graphiti-js
noindex
objcopy
ramaze
sharepoint-timer-job
having
regexbuddy
sharepoint-feature
case-tools

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App