I have downloaded bootstrap theme named flatly from bootswatch.com. I have set it up using instructions from How can I implement a theme from bootswatch or wrapbootstrap in an MVC 5 project?. But my bootstrap theme still not working. It gives me lots of warnings. I have copied downloaded flatly.bootstrap.css theme to Content directory and modified Bundleconfig.cs file, i have added new bundle: bundles.Add(new StyleBundle("~/Content/css").Include( "~/Content/flatly.bootstrap.css", "~/Content/site.css")); but that theme not working correctly: here is my screenshot of my website website image Who can help me with this issue? Also watch image attached:Warnings image
相关问题
- Carriage Return (ASCII chr 13) is missing from tex
- How to store image outside of the website's ro
- 'System.Threading.ThreadAbortException' in
- Request.PathInfo issues and XSS attacks
- How to dynamically load partial view Via jquery aj
相关文章
- asp.net HiddenField控件扩展问题
- asp.net HiddenField控件扩展问题
- Asp.Net网站无法写入错误日志,测试站点可以,正是站点不行
- asp.net mvc 重定向到vue hash字符串丢失
- FormsAuthenticationTicket expires too soon
- “Dynamic operations can only be performed in homog
- What is the best way to create a lock from a web a
- Add to htmlAttributes for custom ActionLink helper
You're using Bootstrap version 4 which has included breaking changes to version 3, which is what the ASP.NET template is using. You can either rollback Bootstrap 4 to 3 using the Nuget package manager or migrate it up to version 4.
Change your 'navbar' code code in _Layout.cshtml. You might be already using the below code -
Replace it with below one from getbootstrap.com. But before that ensure that you have downloaded/installed bootstrap 4.0 (I have done it via Nuget package manager). You can add your customization on it -