1

I'm trying to use a bootswatch theme with my .net core web app but I can't seem to find any guides.

I have tried replacing the bootstrap.css file with the bootstrap.css of my desired theme but it's not working.

I noticed the default bootstrap.css file has an associated bootstrap.css.map file because the default project is using LESS. How can I use these bootswatch themes with the default .net core web app project?

Thanks for the help.

1 Answer 1

1

I had the same problem and this is how i resolved it; first you visit the official site of bootswatch, you realize that the templates are always tuned to the lates version of boostrap; in my case it was tuned to v4.1.1 which is the latest version of bootstrap. versioned tuned in the bootswatch

now check your _Layout.cshtml page and see the bootstrap version included by asp.net core; mine was v3.3.7. Back to your bootswatch select the correct version and enjoy coding. Hope this helps you

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.