Base solution for your next web application
Open Closed

Support for different themes/templates #9714


User avatar
0
4Matrix created

ASP.NET CORE & Angular .NET Core 3.1 v9.0.1 We would like to switch the theme/template of the Web.Public project to use a different theme. Currently it uses https://keenthemes.com/free-bootstrap-templates/free-bootstrap-corporate but we would like to switch it to using a different theme by the same company, https://keenthemes.com/free-bootstrap-templates/jango

Whilst I can just update the project myself, I was wondering if there was a way this could be done so that it wont break when I update ASP Net Zero in the future? e.g. make the template switchable and allow custom templates to be created?

I would also like the ability to do this for the main Admin theme/template too, currently it uses https://preview.keenthemes.com/metronic/angular/demo1/dashboard but https://preview.keenthemes.com/keen/demo5/index.html would work better for the project I am working on. Again, I could make these changes manually but would have issues after every update unless the theme/template could be modularised in some way?

Is this something you are planning or offer any advise on?


1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @4Matrix

    Unfortunately, we don't provide an official way for changing the themes. You need to make the changes manually bu yourself.

    With the latest version, Metronic started to use raw bootstrap stlyes. Before that, it was using special css styles staritng with "kt-" prefix. Becasue of that, if you want to move to an another bootstrap 4 based theme, HTML part might not cause much problems to you.

    And, updating your project next time probably will be easy if you don't modify html structure of the existing pages.