Get 2024 Templates Mega Bundle!19 Bootstrap HTML, Vue & React Templates + 3 Vector Sets
Get for 99$

CSS of theme JET pro don't charge in my project MVC


When use the CSS in my project of MVC with ASP.net core dont charge this styles and I'm try make various solutions but is imposible


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (13)


It is very interesting topic you’ve written here..The truth I’m not related to this, but I think is a good opportunity to learn more about, And as well talk about a different topic to which I used to talk with othersreincarnation of the suicidal battle god 100



Wow! This could be one particular of the most helpful blogs We’ve ever arrive across on this subject. Basically Excellent. I’m also an expert in this topic therefore I can understand your effort.poke bowl sushi



It’s actually a cool and helpful piece of information. I’m glad that you shared this helpful info with us. Please keep us informed like this. Thanks for sharing.https://139.99.27.11/huong-dan/



Nice site. On your blogs very interest and i will tell a friends.m fun88



I attached 3 images that explain the problem, I use Visual studio 2022 for create my project, and uso the theme jet pro, the styles and scripts work good but when put RenderBody() for use other view the dark theme don't work because the scripts not change the color of background the view, my principal question is, How do I implement the light and night theme change in other views that are nested in the main layaout?

I send the screenshots of my project

http://n.whref.co/WSOP/images/cap1.png
http://n.whref.co/WSOP/images/cap2.png
http://n.whref.co/WSOP/images/cap3.png



Hi,

Thank you for reaching out to us.

From your screenshot looks like you do not have mandatory body classes.

Did you include Starterkit/Views/Partials/ThemeMode/_Init.cshtml?

This file contains theme mode initialization script it will add mode html attribute.

Regards,
Lauris Stepanovs,
Keenthemes Support Team



Yes, I have declarate such as _layout.cshtml, in this view have all CSS and Script necesary for use the change of theme dark and light, but the change theme don't work in the other view when use render body

I see the structure of template model Jet pro but all file . html are independent and charge the theme on its own



Hi,

Since this is your custom ASP.NET integration, it's difficult to determine the issue without debugging. I suggest checking our Jet dark mode setup documentation.

Make sure to include the theme initialization script as shown here: Jet Dark Mode Initialization.

For mode-switching functionality, you can use our API methods: Jet Dark Mode API Methods.

If you include all the required styles and scripts in the correct order, the theme switch should work just like in our HTML version.

Regards,
Lauris Stepanovs,
Keenthemes Support Team



I can use the Styles of the theme but the principal problem is when I want use the rest theme in other views My project is in Asp.net core and use the IE Visual Studio 2022 , the theme show in layaout principal but in other views don't show complete

How attached img in this box?



Hi,

Sorry for the late reply.

You can upload your screenshot to a website like https://imgur.com/ and then send us link here.

Did you set Layout constant on your page view?

Here is an example:

@{
Layout = KTTheme.GetView("Default.cshtml");
}


Regards,
Lauris Stepanovs,
Keenthemes Support Team



Hi,

Thank you for reaching out to us.

Could you please specify which Jet Pro version you are using?

Do you have any errors when trying to build your Asp.Net-Core project?

Regards,
Lauris Stepanovs,
Keenthemes Support Team



Hi, I recently purchased the latest version, and I'm work in the IE Visual Studio 2022 but I charge the Styles and resources for use the template, when compile the project charge the template but not all , such as the layaout login, I want use the basic.html for this layaout, compile the project and not charge the styles and is very different to orginal, I want support for check my project please



Hi,

Could you please provide us with more info about your issue?

What parts of our assets have you copied? Did you modify anything in our default codebase?

Please make sure that you have data-bs-theme="light" attribute on your HTML tag and these classes header-fixed header-tablet-and-mobile-fixed aside-fixed aside-secondary-disabled on your body tag.

Regards,
Lauris Stepanovs,
Keenthemes Support Team


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(