So, remembering your knowledge of HTML: you remember that inside the element <head>
you reference the files CSS
that you will use on your site to change the appearance of the elements html
, right? It’s the element <link rel="stylesheet" href="/css/estilos.css" />
or anything worth.
Hence, you need to load the styles of this theme there after loading the bootstrap styles. If you look at the demo code of the site, so is the order of loading the style sheets:
<link href="../vendors/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
<!-- Font Awesome -->
<link href="../vendors/font-awesome/css/font-awesome.min.css" rel="stylesheet">
<!-- NProgress -->
<link href="../vendors/nprogress/nprogress.css" rel="stylesheet">
<!-- iCheck -->
<link href="../vendors/iCheck/skins/flat/green.css" rel="stylesheet">
<!-- bootstrap-progressbar -->
<link href="../vendors/bootstrap-progressbar/css/bootstrap-progressbar-3.3.4.min.css" rel="stylesheet">
<!-- JQVMap -->
<link href="../vendors/jqvmap/dist/jqvmap.min.css" rel="stylesheet">
<!-- bootstrap-daterangepicker -->
<link href="../vendors/bootstrap-daterangepicker/daterangepicker.css" rel="stylesheet">
<!-- Custom Theme Style -->
<link href="../build/css/custom.min.css" rel="stylesheet">
That is: he brings the bootstrap in the first line of this excerpt, then brings the other things he uses (Font Awesome, Nprogress and such) and at the end brings the custom style of the theme. That’s because the CSS
last loaded always overwrites the previous loader, so are "Cascading Style Sheets" (Cascading Style Sheets).
Study HTML well, the worst thing you have is a web programmer who doesn’t get HTML and HTTP.
Anyway, good studies for you.
Thank you @Daniel ! So I copy all those files and folders that I downloaded into my project folder. And I change the _Layout.cshtml of the Views Shared folder to load these styles... That’s it? I need to change some configuration on Web.config... or something like that?
– AlamBique
You probably don’t need to do anything, just load the files that are in the project folder. But I also don’t know so much about the
IIS
, forehead and see if it works.– Daniel
Basically that’s what @Daniel said, I’ve used this theme in a panel and just satisfy the calls in the file '_Layout'. Just as in the use of bootstrap you must respect the order of the insertions of style files (css) and scripts (javascript) for everything to work. Some pages may require extra scripts to work. One tip is that if something goes wrong check in the browser debugging console the error to see if nothing is missing or not in the expected order
– Guilherme Almeida