I have just created asp.net mvc application. I wanted to change the "theme" of the site, to I've got to bootswatch
and selected darkly theme. Then I've added it to Content
folder and edited App_Start\BundleConfig.cs
changing:
bundles.Add(new StyleBundle("~/Content/css").Include(
"~/Content/bootstrap.css",
"~/Content/site.css"));
to:
bundles.Add(new StyleBundle("~/Content/css").Include(
"~/Content/bootstrap-darkly.css",
"~/Content/site.css"));
It worked. But with the default theme the site looks like this:
And with darkly
bootstrap it doesn't show the Home About Contact Register Log in
tabs:
I had to click that little button which the arrow is pointing to show the list with those.
I tried it in Google Chrome, Firefox and Microsoft Edge. And I tried other files like Lumen
or Superhero
. Still no effect. On the video from which I am learning all of this: https://www.youtube.com/watch?v=E7Voso411Vs, the author of it used Lumen
and it worked for him.
Can you see anything I am doing wrong?
@Edit. This is my solution explorer:
And this is my navbar section:
I checked those things using Inspect
and here they differ: