Mamix - ASP.NET Core8 & Mvc5 Bootstrap 5 Premium Admin & Dashboard Template
Mamix - Premium ASP.NET Core8 & Mvc5 Bootstrap-5 Admin Template, With these template formats, it's very easy to create a presence and grab someone's attention around the web page Because the template is built using HTML5, CSS3, Bootstrap 5 framework and with Sass. So please before you start working with the template take a quick look on the documentation so that you can easily built your website.
If You Love Our Template Design Please don't forgot to rate it. Thank you so much! 😊
Dashboard
Welcome to Mamix - ASP.NET Core8 & Mvc5 Bootstrap 5 Premium Admin & Dashboard Template- Created Date : 06/June/2024
- Author : Spruko
- Company : Spruko Software Private Limited
Thank you for showing interest towards our admin template. Feel free to contact us any time. We have a dedicated team to provide you the best support. If you want any queries open support ticket https://support.spruko.com/.
Mamix is a Premium ASP.NET Core8 & Mvc5 Bootstrap-5 Admin Template using modern and minimal design. It is fully flexible user-friendly and responsive. Mamix Modern template is powered with HTML 5, SASS, & Bootstrap 5 which looks great on Desktops, Tablets, and Mobile Devices. This Template Includes 230+ CSHTML Pages . No Need to do hard work for this template customization. We already designed it and you can easily design your website just how you like it. This template using ASP.NET Core8 & Mvc5 Bootstrap 5 framework. After Purchased this template you will get All CSHTML files,CSS, Scss and JS Files.
It has super clean flat user interface admin design, easy customizable components and widgets.The Template comes with a awesome unique design also we ensure you can easily design template.
It is a fully responsive layout for all type of devices. Works on all major web browsers, Desktop, iPhone, iPad, Tablet and all other smart phone devices
Once you Purchase Mamix Premium ASP.NET Core8 & Mvc5 Bootstrap-5 Admin Template, you will be able to get free download of all future updates.
No Jquery | Dark Layout | RTL Ready |
Icons | Authentication Pages | Error Pages |
230+ CSHTML Pages | Easy to Customize | Bootstrap 5 Responsive Framework |
Form Elements | Maps | Ratings |
Form Advanced | Form wizards | Profile Settings |
Grid JS Tables | Data Tables | Gallery |
Apex Charts | Chartjs Charts | Echarts |
Full Calendar | Sweet Alerts | Swiper JS |
Blog Pages | Mail App | Chat |
File Manager | Invoice | Landing Pages |
Pricing | Profile | Placeholders |
Classifieds Pages | Domain Pages | Market place Pages |
Real Estate Pages | Ecommerce Pages | Job Pages |
NFT Pages | CRM Pages | Crypto Pages |
Ribbons | Sortable Js | Tour |
24 * 7 Professional Company Support | Media Player | Under Construction Page |
Color Theme Support (Primary and Background) | Neat, clean and simple design | W3C Validated |
Theme Styles
- Light & Dark Themes
- LTR & RTL
- Vertical & Horizontal Navigation Styles
- Menu Click & Hover Styles
- Icon Click & Hover Styles
- Page Regular & Classic Styles
- Layout Default, Full Width & Boxed
- Menu Fixed & Scrollable
- Header Fixed & Scrollable
- Sidemenu Closed
- Icon Text Menu
- Icon Overlay
- Detached
- Double Menu
Theme Colors
- Menu Light
- Menu Dark
- Menu Color
- Menu Gradient
- Menu Transparent
- Header Light
- Header Dark
- Header Color
- Header Gradient
- Header Transparent
- Theme Primary
- Theme Background
- Menu With Background Images
- .NET 8.0.101 SDK
- Visual Studio Code or Visual Studio 2022 (latest version)
- C# for Visual Studio Code (latest version)
- node:- 20.10.0
- Esbuild:- 0.19.11
- npm :- 10.8.1
Step1: Please visite the Official Web Site of the ..NET SDK
Step2: Click on the Download .NET SDK. button
Step3: Now your .NET SDK file has downloaded and installed in your computer.
Here we are using "ASP.Net Core8 & Mvc5 " download
If you know how to create ASP.Net Core8 & Mvc5 project you can skip this step.
- Assuming that you have already installed .NET SDK in your computer.
- First, you need to create an environment at your project location For example:
C:\project\projectname>
- Use for Asp.Net Mvc5
This project folder path can be used to open the command.Now execute the commanddotnet new mvc -o Projectname
It creates a new ASP.NET MVC5
project in the Project Name folder. - Use for Asp.Net Core8
This project folder path can be used to open the command.Now execute the commanddotnet new webapp -o Projectname
It creates a new ASP.NET Core8
project in the Project Name folder. - Trust the HTTPS development certificate by running the following command
dotnet dev-certs https --trust
. - Now you are sucessfully installed ASP.Net Core8 & Mvc5 project.
Visual Studio Code
- If you are using Visual Studio Code.
- Go to your root project location path, then open the project file in your editor.
- Open the command prompt, then use
" cd /path-to-your-project "
. - Enter the command
dotnet watch run
to get ASP.Net Core8 & Mvc5 development server.
Visual Studio
- If you are using Visual Studio.
- Open the Visual studio, then click on "Open a Project or Solution."
- Go to your root project location path, then you will see inside the folder
projectname.csproj
. Select it, and then open the project file. - Now, press the key
F5
to get ASP.Net Core8 & Mvc5 development server.
├── bin/
| └── debug/
| └── net8.0
├── Controllers/
├── Models
├── obj
├── Properties
├── Views
├── wwwroot
├── appsettings.Development.json
├── appsettings.json
├── esbuild.config.js
├── mamix.csproj
├── mamix.csproj.user
├── mamix.sln
├── package-lock.json
├── package.json
└── Program.cs
- First, unzip the project folder that you received from us.
- Navigate as shown Example: C:\projectname\views in that project folder in will have 16 folders and in 230+ cshtml files.
- Navigate as shown Example: C:\projectname\ Controllers in that project folder will have 15 Controller.cs files.
- Navigate as shown Example: C:\projectname\views\shared\layouts Open folder there you will find _main-header.cshtml, _main-sidebar.cshtml and _footer.cshtml, and _switcher.cshtml, files and etc..,.
- Here _Layout.cshtml file is the base file for all the cshtml pages.
- Here _CustomLayout.cshtml file is the base file for all custom pages ex: error401.cshtml, create_password_basic.cshtml, reset_password_basic.cshtml, coming_soon.cshtml, sign_up_basic.cshtml and under_maintenance.cshtml etc..,
- Here _EcommerceLayout.cshtml file is the base file for all Ecommerce cshtml pages.
- Here _LandingLayout.cshtml file is the base file for all landing cshtml pages.
├── bin/
| └── debug/
| └── net8.0
├── obj
├── Pages
├── Properties
├── wwwroot
├── appsettings.Development.json
├── appsettings.json
├── esbuild.config.js
├── mamix.csproj
├── mamix.csproj.user
├── mamix.sln
├── package-lock.json
├── package.json
└── Program.cs
- First, unzip the project folder that you received from us.
- Navigate as shown Example: C:\projectname\Pages in that project folder in will have 16 folders and in 230+ cshtml files and 15 cshtml.cs files.
- Navigate as shown Example: C:\projectname\Pages\shared\layouts Open folder there you will find _main-header.cshtml, _main-sidebar.cshtml and _footer.cshtml, and _switcher.cshtml, files and etc..,.
- Here _Layout.cshtml file is the base file for all the cshtml pages.
- Here _CustomLayout.cshtml file is the base file for all custom pages ex: error401.cshtml, create_password_basic.cshtml, reset_password_basic.cshtml, coming_soon.cshtml, sign_up_basic.cshtml and under_maintenance.cshtml etc..,
- Here _EcommerceLayout.cshtml file is the base file for all Ecommerce cshtml pages.
- Here _LandingLayout.cshtml file is the base file for all landing cshtml pages.
Introduction to the ASP.Net Core8 & Mvc5 Starter Kit:
The ASP.Net Core8 & Mvc5 starterkit is a resource that helps developers kickstart their ASP.Net Core8 & Mvc5 web development projects by providing a preconfigured and ready-to-use template. It aims to simplify the initial setup and provide a foundation for building ASP.Net Core8 & Mvc5 Framework-based websites or applications.
Purpose of the ASP.Net Core8 & Mvc5 Starter Kit:
The purpose of the ASP.Net Core8 & Mvc5 starter kit is to save developers time and effort by offering a set of prebuilt files and configurations commonly used in ASP.Net Core8 & Mvc5 projects. Instead of starting from scratch, developers can leverage the starter kit to quickly set up a project structure that adheres to best practices and industry standards.
Benefits of Using the ASP.Net Core8 & Mvc5 Starter Kit:
The starter kit eliminates the need to set up the basic project structure manually. It provides a well-organized file and folder structure, including commonly used directories for separating code, templates, assets, and configuration files. This allows developers to focus more on implementing business logic rather than spending time on initial setup.
Starterkit Overview
You can use the Starterkit if you are creating a new project. It will be time-consuming to use the full admin version for a new project as Mamix have more than 239 pages.
We have provided all the pre-build layouts like Sidemenu, Header, footer and blank pages etc in the Starterkit.
For further information or support regarding the template, please contact us using the provided link: https://support.spruko.com/
ASP .Net Mvc5 Starterkit Folder Structure
├── bin/
├── Controllers/
├── Models
├── obj
├── Properties
├── Views/
| ├── Shared
| | ├── _Layout.cshtml
| | ├── _Layout.cshtml.css
| | ├── _ValidationScriptsPartial.cshtml
| | ├── Error.cshtml
| | └── layouts
| | ├── _footer.cshtml
| | ├── _main-header.cshtml
| | ├── _main-sidebar.cshtml
| | ├── _modal.cshtml
| | └── _switcher.cshtml
| ├── Home
| | ├── Index.cshtml
| | └── Privacy.cshtml
| ├── _ViewImports.cshtml
| └── _ViewStart.cshtml
├── wwwroot/
| ├── assets/
| ├── css
| ├── js
| └── lib
| └── favicon.ion
├── appsettings.Development.json
├── appsettings.json
├── esbuild.config.js
├── package-lock.json
├── package.json
├── program.cs
├── starterkit.csproj
├── starterkit.csproj.user
└── starterkit.sln
- Take a quick look at the folder structure of the "Starterkit."
- Integration of your customized cshtml pages becomes easy when using the "Starterkit."
- The "Starterkit" provides all the layout components, related assets, and plugins.
- To explore the contents of the "Starterkit," unzip the project folder received after purchase.
- Example: C:/projectname/Views/Home/- This folder contains files such as Index.cshtml file.
- Example: C:/projectname/Controllers/- This folder contains files such as HomeController.cs file.
- Example: C:/projectname/Views/Shared/layouts /- This folder contains files such as _main-header.cshtml, _main-sidebar.cshtml and _footer.cshtml, and _switcher.cshtml, files and etc..,.
Asp .Net Core8 Starterkit Folder Structure
├── bin/
├── obj
├── Pages
| ├── Shared
| | ├── _Layout.cshtml
| | ├── _Layout.cshtml.css
| | ├── _ValidationScriptsPartial.cshtml
| | └── layouts
| | ├── _footer.cshtml
| | ├── _main-header.cshtml
| | ├── _main-sidebar.cshtml
| | ├── _modal.cshtml
| | └── _switcher.cshtml
| ├── Home
| | ├── Home.cshtml.cs
| | └── Index.cshtml
| ├── _ViewImports.cshtml
| ├── _ViewStart.cshtml
| ├── Error.cshtml
| ├── Error.cshtml.cs
| ├── Index.cshtml
| ├── Index.cshtml.cs
| ├── Privacy.cshtml
| └── Privacy.cshtml.cs
├── Properties
├── wwwroot
| ├── assets/
| ├── css
| ├── js
| └── lib
| └── favicon.ion
├── appsettings.Development.json
├── appsettings.json
├── esbuild.config.js
├── package-lock.json
├── package.json
├── program.cs
├── starterkit.csproj
├── starterkit.csproj.user
└── starterkit.sln
- Take a quick look at the folder structure of the "Starterkit."
- Integration of your customized cshtml pages becomes easy when using the "Starterkit."
- The "Starterkit" provides all the layout components, related assets, and plugins.
- To explore the contents of the "Starterkit," unzip the project folder received after purchase.
- Example: C:/projectname/Pages/- This folder contains files such as Index.cshtml and Index.cshtml.cs files.
- Example: C:/projectname/Pages/Home/- This folder contains files such as Index.cshtml and Home.cshtml.cs files.
- Example: C:/projectname/Pages/shared/layouts /- This folder contains files such as _main-header.cshtml, _main-sidebar.cshtml and _footer.cshtml, and _switcher.cshtml, files and etc..,.
Visual studio code
- First, unzip the project folder that you received from us.
- Go to your root project location path, then open the project file in your editor.
- Open the command prompt, then use
" cd /path-to-your-project "
. - Now execute the command:
dotnet watch run
to getASP.Net Core8 & Mvc5 development server.
Visual studio
- First, unzip the project folder that you received from us.
- Go to your root project location path, then open the project file.
- Just double click on the file
mamix.sln
inside the project folder. - Now, press the key
F5
to getASP.Net Core8 & Mvc5 development server.
Mamix comes with power of SCSS. The css files can be generated from scss by simply following below steps:
- esbuild
Esbuild is a cutting-edge JavaScript task runner that automates common development tasks, such as compiling Sass to CSS, minifying JavaScript and CSS files, optimizing images, and more. Esbuild allows developers to define tasks that process files in a project, and then run those tasks automatically when files are changed or when specific commands are issued.for more information about Esbuild Check here.
Prerequisites
Please follow below steps to install and setup all prerequisites:
- Nodejs
Make sure to have the Node.js installed & running in your computer. If you have already installed nodejs on your computer, you can skip this step, otherwise install nodejs on your computer,
Note : If you are using the latest version of Node JS or want to install and use the latest version, click here and install all the dependencies manually that are given below in command prompt.
- esbuild
Make sure to have the Esbuild installed & running in your computer. If you have already installed Esbuild on your computer, you can skip this step. In order to install, just run command
npm install
from your terminal.
Installation
To setup, follow below mentioned steps:
- Install Prerequisites
Make sure to have all above prerequisites installed & running in your computer
- Install Dependencies
Open your terminal, go to your folder and enter the command
npm install
. This would install all required dependencies innode_modules
folder.
After you finished with above steps, you can run the command to compile scss into css:
npm run build
Note:- please ensure that you have installed all nodemodules requried to run esbuild tasks .
Here we provided package.json and esbuild.config.js files in your project, you just need to run npm install
in your terminal in your project root path.
After compilation of download, you can compile your SCSS files into CSS files by following below procedure.
Command | Description |
---|---|
npm run build
|
In mamix template npm run build command is used for, whatever the changes made in scss files, will watch and compiled into css files.
|
Compiling Styles
1. In the assets folder you will see css, icon-fonts, images, js, libs, scss, video
Folder Structure
├── wwwroot/
| ├── assets/
| | ├── audio/
| | ├── css/
| | ├── icon-fonts/
| | ├── images/
| | ├── js/
| | ├── libs/
| | ├── scss/
| | └── video/
2. Now you can compile or customize your styles in scss files that are present in the assets folder.
3. Once the changes made in the files in order to apply those changes to your template you need to run the esbuild commands in the same terminal or command prompt that you have set your project root path.
4. After Compilation, all your .scss files are converted into .css.
- .Net fremework : 4.8
- C# for Visual Studio Code : (latest version)
- .NET : 8.0.101
├── bin/
| └── Debug/
| └── net8.0/
├── Controllers
| └── 15 Controller.cs (files)
├── Modals
| └── ErrorViewModel.cs
├── obj
| ├── Debug
| ├── mamix.csproj.nuget.dgspec.json
| ├── mamix.csproj.nuget.g.props
| ├── mamix.csproj.nuget.g.targets
| ├── project.assets.json
| └── project.nuget.cache
├── Properties
| └── launchSettings.json
├── Views/
| ├── Shared__
| | ├── _CustomLayout.cshtml
| | ├── _EcommerceLayout.cshtml
| | ├── _LandingLayout.cshtml
| | ├── _Layout.cshtml
| | ├── _Layout.cshtml.css
| | ├── _ValidationScriptsPartial.cshtml
| | ├── Error.cshtml
| | └── layouts
| | ├── ecommercecomponents/
| | ├── _custom-switcher.cshtml
| | ├── _footer.cshtml
| | ├── _main-header.cshtml
| | ├── _main-header1.cshtml
| | ├── _main-sidebar.cshtml
| | ├── _modal.cshtml
| | └── _switcher.cshtml
| ├── 16 Folders
| | └── 230 + .cshtml (Files)
| ├── _ViewImports.cshtml
| └── _ViewStart.cshtml
├── wwwroot/
| ├── assets/
| | ├── audio/
| | ├── css/
| | ├── icon-fonts/
| | ├── images/
| | ├── js/
| | ├── libs/
| | ├── scss/
| | └── video/
| ├── css
| | └── site.css
| ├── js
| | └── site.js
| └── lib/
| └── favicon.ion
├── appsettings.Development.json
├── appsettings.json
├── esbuild.config.js
├── mamix.csproj
├── mamix.csproj.user
├── mamix.sln
├── package-lock.json
├── package.json
└── Program.cs
├── bin/
| └── Debug
| └── net8.0
├── obj
| ├── Debug
| ├── mamix.csproj.nuget.dgspec.json
| ├── mamix.csproj.nuget.g.props
| ├── mamix.csproj.nuget.g.targets
| ├── project.assets.json
| └── project.nuget.cache
├── Pages
| ├── Shared__
| | ├── _CustomLayout.cshtml
| | ├── _EcommerceLayout.cshtml
| | ├── _LandingLayout.cshtml
| | ├── _Layout.cshtml
| | ├── _Layout.cshtml.css
| | ├── _ValidationScriptsPartial.cshtml
| | └── layouts
| | ├── ecommercecomponents/
| | ├── _custom-switcher.cshtml
| | ├── _footer.cshtml
| | ├── _main-header.cshtml
| | ├── _main-header1.cshtml
| | ├── _main-sidebar.cshtml
| | ├── _modal.cshtml
| | └── _switcher.cshtml
| ├── 16 Folders
| | ├── 230 + .cshtml (Files)
| | └── 15 .cshtml.cs (Files)
| ├── _ViewImports.cshtml
| ├── _ViewStart.cshtml
| ├── Error.cshtml
| ├── Error.cshtml.cs
| ├── Index.cshtml
| ├── Index.cshtml.cs
| ├── Privacy.cshtml
| └── Privacy.cshtml.cs
├── Properties
| └──launchSettings.json
├── wwwroot
| ├── assets
| | ├── audio/
| | ├── css/
| | ├── icon-fonts/
| | ├── images/
| | ├── js/
| | ├── libs/
| | ├── scss/
| | └── video/
| ├── css
| | └── site.css
| ├── js
| | └── site.js
| └── lib/
| └── favicon.ion
├── appsettings.Development.json
├── appsettings.json
├── esbuild.config.js
├── mamix.csproj
├── mamix.csproj.user
├── mamix.sln
├── package-lock.json
├── package.json
└── Program.cs
Asp.Net Mvc5 Switcher?
Go to root path: Views/Shared/_Layout.cshtml
open _Layout.cshtml
in that file, below the body tag
, remove the switcher path given below.
Switcher path:
Before:
Remove this(
<!-- Start::main-switcher -->
<partial name="~/Views/Shared/layouts/_switcher.cshtml" />
<!-- End::main-switcher -->
)
After :
(removed switcher path)
Go to root path: Views/Shared/_Layout.cshtml
open "_Layout.cshtml"
file and then chenge _main-header.cshtml
to _main-header1.cshtml
given below.
Before:
<!-- Start::main-header -->
<partial name="~/Views/Shared/layouts/_main-header.cshtml" />
<!-- End::main-header -->
After:
<!-- Start::main-header -->
<partial name="~/Views/Shared/layouts/_main-header1.cshtml" />
<!-- End::main-header -->
Go to root path: Views/Shared/_Layout.cshtml
open "_Layout.cshtml"
file and then remove the custom-switcher.min.js
link as shown below.
Remove Switcher Script :
<!-- Custom-Switcher JS -->
<script src="@Url.Content("~/wwwroot/assets/js/custom-switcher.min.js")"></script>
Go to root path: Views/Shared/_LandingLayout.cshtml
open "_LandingLayout.cshtml"
in that file, below the body tag remove the Switcher Path as shown in below.
Switcher path:
BEFORE :
<body class="landing-body">
Remove this(
<!-- Start::main-switcher -->
<partial name="~/Views/Shared/layouts/_custom-switcher.cshtml" />
<!-- End::main-switcher -->
)
AFTER :
<body class="landing-body">
(removed switcher path)
Go to root path:
Views/Shared/_LandingLayout.cshtml
open
"_LandingLayout.cshtml"
Remove the below-shown code.
Step 1:-
<script>
if(localStorage.mamixdarktheme){
document.querySelector("html").setAttribute("data-theme-mode","dark")
}
if(localStorage.mamixrtl){
document.querySelector("html").setAttribute("dir","rtl")
document.querySelector("#style")?.setAttribute("href", "@Url.Content("~/assets/libs/bootstrap/css/bootstrap.rtl.min.css")");
}
</script>
Step 2:- Remove the landing.js link
<!-- Internal Landing JS -->
<script src="@Url.Content("~/assets/js/landing.js")"></script>
Go to root path:
Views/Apps/
open for example
"classifieds_details.cshtml"
file and Remove below shown code.
Remove The Below Code In Header Section.
<button class="btn btn-icon btn-success switcher-icon" data-bs-toggle="offcanvas" data-bs-target="#switcher-canvas">
<i class="ri-settings-3-line"></i>
</button>
Remove The Below Code In Sidebar Section.
<a href="javascript:void(0);" class="btn btn-icon btn-secondary-light switcher-icon" data-bs-toggle="offcanvas" data-bs-target="#switcher-canvas">
<i class="ti ti-settings"></i>
</a>
Go to root path: Views/Shared/_EcommerceLayout.cshtml
open "_EcommerceLayout.cshtml"
in that file, below the body tag remove the Switcher Path as shown in below.
Switcher path:
BEFORE :
<body class="landing-body ecommerce-landing">
Remove this(
<!-- Start::main-switcher -->
<partial name="~/Views/Shared/layouts/_custom-switcher.cshtml" />
<!-- End::main-switcher -->
)
AFTER :
<body class="landing-body ecommerce-landing">
(removed switcher path)
Go to root path:
Views/Shared/_EcommerceLayout.cshtml
open
"_EcommerceLayout.cshtml"
files and then Change _ecommerce-header.cshtml
to
_ecommerce-header1.cshtml
as shown in below.
Before:
<!-- Start::main-header -->
<partial name="~/Views/Shared/layouts/ecommercecomponents/_ecommerce-header.cshtml" />
<!-- End::main-header -->
After:
<!-- Start::main-header1 -->
<partial name="~/Views/Shared/layouts/ecommercecomponents/_ecommerce-header1.cshtml" />
<!-- End::main-header1 -->
Go to root path:
Views/Shared/_EcommerceLayout.cshtml
open
"_EcommerceLayout.cshtml"
file and Remove the below-shown code.
Step 1:-
<script>
if(localStorage.mamixdarktheme){
document.querySelector("html").setAttribute("data-theme-mode","dark")
}
if(localStorage.mamixrtl){
document.querySelector("html").setAttribute("dir","rtl")
document.querySelector("#style")?.setAttribute("href", "@Url.Content("~/assets/libs/bootstrap/css/bootstrap.rtl.min.css")");
}
</script>
Step 2:- Remove the landing.js link
<!-- Internal Landing JS -->
<script src="@Url.Content("~/assets/js/landing.js")"></script>
Asp.Net Core8 Switcher?
Go to root path: Pages/Shared/_Layout.cshtml
open _Layout.cshtml
in that file, below the body tag
, remove the switcher path given below.
Switcher path:
Before:
<body class="">
Remove this(
<!-- Start::main-switcher -->
<partial name="~/Pages/Shared/layouts/_switcher.cshtml" />
<!-- End::main-switcher -->
)
After :
<body class="">
(removed switcher path)
Go to root path: Pages/Shared/_Layout.cshtml
open "_Layout.cshtml"
file and then remove the custom-switcher.min.js
link as shown below.
Remove Switcher Script :
<!-- Custom-Switcher JS -->
<script src="@Url.Content("~/wwwroot/assets/js/custom-switcher.min.js")"></script>
Go to root path: Pages/Shared/_Layout.cshtml
open "_Layout.cshtml"
file and then chenge _main-header.cshtml
to _main-header1.cshtml
given below.
Before:
<!-- Start::main-header -->
<partial name="~/Pages/Shared/layouts/_main-header.cshtml" />
<!-- End::main-header -->
After:
<!-- Start::main-header -->
<partial name="~/Pages/Shared/layouts/_main-header1.cshtml" />
<!-- End::main-header -->
Go to root path: Pages/Shared/_LandingLayout.cshtml
open "_LandingLayout.cshtml"
in that file, below the body tag remove the Switcher Path as shown in below.
Switcher path:
BEFORE :
<body class="landing-body">
Remove this(
<!-- Start::main-switcher -->
<partial name="~/Pages/Shared/layouts/_custom-switcher.cshtml" />
<!-- End::main-switcher -->
)
AFTER :
<body class="landing-body">
(removed switcher path)
Go to root path:
Pages/Shared/_LandingLayout.cshtml
open
"_LandingLayout.cshtml"
Remove the below-shown code.
Step 1:-
<script>
if(localStorage.mamixdarktheme){
document.querySelector("html").setAttribute("data-theme-mode","dark")
}
if(localStorage.mamixrtl){
document.querySelector("html").setAttribute("dir","rtl")
document.querySelector("#style")?.setAttribute("href", "@Url.Content("~/assets/libs/bootstrap/css/bootstrap.rtl.min.css")");
}
</script>
Step 2:- Remove the landing.js link
<!-- Internal Landing JS -->
<script src="@Url.Content("~/assets/js/landing.js")"></script>
Go to root path:
Pages/Apps/
open for example
"classifieds_details.cshtml"
file and Remove below shown code.
Remove The Below Code In Header Section.
<button class="btn btn-icon btn-success switcher-icon" data-bs-toggle="offcanvas" data-bs-target="#switcher-canvas">
<i class="ri-settings-3-line"></i>
</button>
Remove The Below Code In Sidebar Section.
<a href="javascript:void(0);" class="btn btn-icon btn-secondary-light switcher-icon" data-bs-toggle="offcanvas" data-bs-target="#switcher-canvas">
<i class="ti ti-settings"></i>
</a>
Go to root path: Pages/Shared/_EcommerceLayout.cshtml
open "_EcommerceLayout.cshtml"
in that file, below the body tag remove the Switcher Path as shown in below.
Switcher path:
BEFORE :
<body class="landing-body ecommerce-landing">
Remove this(
<!-- Start::main-switcher -->
<partial name="~/Pages/Shared/layouts/_custom-switcher.cshtml" />
<!-- End::main-switcher -->
)
AFTER :
<body class="landing-body ecommerce-landing">
(removed switcher path)
Go to root path:
Pages/Shared/_EcommerceLayout.cshtml
open
"_EcommerceLayout.cshtml"
files and then Change _ecommerce-header.cshtml
to
_ecommerce-header1.cshtml
as shown in below.
Before:
<!-- Start::main-header -->
<partial name="~/Pages/Shared/layouts/ecommercecomponents/_ecommerce-header.cshtml" />
<!-- End::main-header -->
After:
<!-- Start::main-header1 -->
<partial name="~/Pages/Shared/layouts/ecommercecomponents/_ecommerce-header1.cshtml" />
<!-- End::main-header1 -->
Go to root path:
Pages/Shared/_EcommerceLayout.cshtml
open
"_EcommerceLayout.cshtml"
file and Remove the below-shown code.
Step 1:-
<script>
if(localStorage.mamixdarktheme){
document.querySelector("html").setAttribute("data-theme-mode","dark")
}
if(localStorage.mamixrtl){
document.querySelector("html").setAttribute("dir","rtl")
document.querySelector("#style")?.setAttribute("href", "@Url.Content("~/assets/libs/bootstrap/css/bootstrap.rtl.min.css")");
}
</script>
Step 2:- Remove the landing.js link
<!-- Internal Landing JS -->
<script src="@Url.Content("~/assets/js/landing.js")"></script>
(Root:Views/Shared/_Layout.cshtml)
(Root:Pages/Shared/_Layout.cshtml)
<html lang="en" dir="ltr" data-nav-layout="vertical" data-theme-mode="light" data-header-styles="transparent" data-width="default" data-menu-styles="light" data-toggled="close">
Attribute | Description |
---|---|
data-theme-mode="light"
data-header-styles="light"
data-menu-styles="light"
|
To set the light theme |
data-theme-mode="dark"
data-header-styles="dark"
data-menu-styles="dark"
|
To set the Dark theme |
dir="ltr"
|
To set LTR version default |
dir="rtl"
|
To set LTR version to RTL version |
data-nav-layout="vertical"
|
To set menu layout to vertical |
data-nav-layout="horizontal"
data-nav-style="menu-click"
|
To set menu layout to horizontal |
data-nav-style="menu-click"
|
To set navigation style to menu click - *Works same for both vertical and horizontal |
data-nav-style="menu-hover"
|
To set navigation style to menu hover - *Works same for both vertical and horizontal |
data-nav-style="icon-click"
|
To set navigation style to icon click - *Works same for both vertical and horizontal |
data-nav-style="icon-hover"
|
To set navigation style to icon hover - *Works same for both vertical and horizontal |
data-page-style="regular"
|
To set page style to Default |
data-page-style="classic"
|
To set page style to Classic |
data-width="default"
|
To set page width to Default Width |
data-width="fullwidth"
|
To set page width to Full Width |
data-width="boxed"
|
To set page width to Boxed |
data-menu-position="fixed"
|
To set menu position Fixed |
data-menu-position="scrollable"
|
To set menu position Scrollable |
data-header-position="fixed"
|
To set header position Fixed |
data-header-position="scrollable"
|
To set header position Scrollable |
data-vertical-style="closed"
|
To set sidemenu layout style Closed - *Does not work for horizontal |
data-vertical-style="icontext"
|
To set sidemenu layout style Icon Text - *Does not work for horizontal |
data-vertical-style="overlay"
|
To set sidemenu layout style Icon Overlay - *Does not work for horizontal |
data-vertical-style="detached"
|
To set sidemenu layout style Detached - *Does not work for horizontal |
data-vertical-style="doublemenu"
|
To set sidemenu layout style Double Menu - *Does not work for horizontal |
loader="enable"
|
To enable loader by default |
(Root:Views/Shared/_Layout.cshtml)
(Root:Pages/Shared/_Layout.cshtml)
<html lang="en" dir="ltr" data-nav-layout="vertical" data-theme-mode="light" data-header-styles="transparent" data-width="default" data-menu-styles="light" data-toggled="close">
Attribute | Description |
---|---|
data-menu-styles="light"
|
To set the menu style to light |
data-menu-styles="dark"
|
To set the menu style to dark |
data-menu-styles="color"
|
To set the menu style to color |
data-menu-styles="gradient"
|
To set the menu style to gradient |
data-menu-styles="transparent"
|
To set the menu style to transparent |
data-header-styles="light"
|
To set the header style to light |
data-header-styles="dark"
|
To set the header style to dark |
data-header-styles="color"
|
To set the header style to color |
data-header-styles="gradient"
|
To set the header style to gradient |
data-header-styles="transparent"
|
To set the header style to transparent |
data-bg-img="bgimg1"
|
To set menu background image1 |
data-bg-img="bgimg2"
|
To set menu background image2 |
data-bg-img="bgimg3"
|
To set menu background image3 |
data-bg-img="bgimg4"
|
To set menu background image4 |
data-bg-img="bgimg5"
|
To set menu background image5 |
General Style
Step 1:
Go To style.scss (wwwroot/assets/scss/styles.scss )
if you want to change another font-family Go to the site Google Fonts And Select One font Family and import in to styles.scss file
How to Select font Family
Example:
Step 2:
And paste Your Selected font-family in style.scss
Example:
Step 3:
And add the Your Selected font-family in _variables.scss(src/assets/scss/_variables.scss)
Example:
--default-font-family: "Montserrat", sans-serif;
By default menu icons are phosphoricons if you want to change icons please follow below steps
Step 1 :
Asp.Net Mvc5 Menu icons?
To change Menu icons, open _main-sidebar.cshtml Path:Views/Shared/layouts/_main-sidebar.cshtml
and go through
app-sidebar
section, in that section you will find phosphoricons of menu in
svg
tag, there you can replace previous icon with your icon. Example
as shown in below
Asp.Net Core8 Menu icons?
To change Menu icons, open _main-sidebar.cshtml Path:Pages/Shared/layouts/_main-sidebar.cshtml
and go through
app-sidebar
section, in that section you will find phosphoricons of menu in
svg
tag, there you can replace previous icon with your icon. Example
as shown in below
Go To "wwwroot/assets/images/brand-logos" folder and replace your logo with Previous Logos within in image size. note: Please don't increase logo sizes. Replace your logo within given image size. otherwise the logo will not fit in particular place it disturbs the template design.
To clear LocalStorage(cookie)
Step1:
Open custom-switcher.min.js file
wwwroot/assets/js/custom-switcher.min.js
To clear LocalStorage loading functions you need to remove localStorageBackup2() function in custom-switcher.min.js as shown below
function localStorageBackup2() {}
Step2:
To remove complete LocalStorage saving you need to remove
all localstorage related calling functions in
custom-switcher.js
wwwroot/assets/js/custom-switcher.min.js
file.
LocalStorage related functions like localStorage.setItem, localStorage.removeItem, localStorage.getItem, localStorage.clear. Below are the some examples to find out.
localStorage.setItem( );
localStorage.removeItem( );
localStorage.getItem( )
localStorage.clear();
localStorageBackup();
Step3:
Use for Asp.Net Mvc5 :-To remove complete LocalStorage saving you also need to remove
main.js link present in mainhead.html Path:Views/Shared/_Layout.cshtml
as shown below
To remove complete LocalStorage saving you also need to remove
main.js link present in mainhead.html Path:Pages/Shared/_Layout.cshtml
as shown below
<!-- Main Theme Js -->
<script src="@Url.Content("~/assets/js/main.js")"></script>
Primary Color
Please follow the below steps to change Primary Color
Step 1 :
To change Primary Color you have to open _variables.scss file and replace what color you want as shown in below
Rootpath : _variables.scss (wwwroot/assets/scss/_variables.scss )
Dark Theme Style
Please follow the below steps to change Dark body Color
Step 1 :
Make sure the theme is set completely to dark mode by adding the following attributes to the html tag data-theme-mode="dark" data-header-styles="dark" data-menu-styles="dark"
Step 2 :
To change Dark body Color you have to open _variables.scss file and replace what color you want as shown in below
Rootpath : _variables.scss (wwwroot/assets/scss/_variables.scss )
Step 3 :
Also Change the following variable colors to the desired theme background accordingly in [data-theme-mode="dark"]
--light-rgb :--form-control-bg :
--input-border :
--gray-3 :
All plugins runs through npm.
If you want new plugins : Install new plugin from npm then run
npm run build
command.
Refer following links for usage:
Icons | References |
---|---|
Bootstrap Icons | https://icons.getbootstrap.com/ |
Boxicons | https://boxicons.com/ |
Remix Icons | https://remixicon.com/ |
Feather Icons | https://feathericons.com/ |
Tabler Icons | https://tabler-icons.io/ |
Line Awesome Icons | https://icons8.com/line-awesome |
phosphor Icons | https://phosphoricons.com/ |
Refer following links for usage:
Images | References |
---|---|
Vecteezy | https://www.vecteezy.com/ |
Iconscount | https://iconscout.com/ |
Unsplash | https://unsplash.com/ |
Png Tree | https://pngtree.com/ |
flaticon | https://www.flaticon.com/authors/flat-icons |
freepik | https://www.freepik.com |
Refer following links for usage:
Google Fonts | https://fonts.google.com/ |
Refer following links for usage:
phosphor Icons | https://phosphoricons.com/ |