Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Bootswatch theme not working correctly

It's my first time working with ASP.NET, I'm trying to use a Bootswatch theme but when I try to use it the navigation bar at the top of the page turns into a weird drop-down menu.

Am I doing something wrong? I just replaced the current bootstrap.css with the new one from Bootswatch.

This is the result

like image 336
Jjampong Avatar asked Dec 26 '17 23:12

Jjampong


2 Answers

Check for the compatible verison of the Bootswatch page

1) https://bootswatch.com/

2) https://bootswatch.com/3/

Try these both. One of them should work

like image 194
Soham Mehta Avatar answered Sep 18 '22 11:09

Soham Mehta


The problem was that the version of bootstrap used in the default mvc-templates and version of bootswatch themes didn't correspond.

I fixed it by dowloading a compatible theme from this link https://bootswatch.com/3/

The easiest will be to downgrade to boostwatch that's based on bootstrap3, bootswatch.com/3 , or alternatively you can update the html with the new bootstrap4 directives

Thanks to StaticBeagle for hist quick answer!

like image 21
Jjampong Avatar answered Sep 20 '22 11:09

Jjampong