nopCommerce 4.2 does not Load Any theme!

один год назад
hello ,
i just installed nopCommerce CMS on my server and i have a problem with Loading Themes!
except DefaultClean Theme i cant use any theme!
this will happen when i change my theme to any other theme




would u guys please help me ?
thanks
один год назад
Seems like css files are not loading. Check 2 things for this.

1) At first check css files are included in Layout page correctly. Then check related css files are availavle in desired directories.

If those are correctly placed, then...

2) Check CSS bundling and minification (Configuration 》 Settings 》 General settings) is checked or not. If checked, then uncheck it and save settings.

After following this, if your issue fixed then you can be confirmed that atleast one or more css files are not well formatted. When system is trying to minify that unformatted css file, it failed and no css is loading.
один год назад
pouriyatlf wrote:
hello ,
i just installed nopCommerce CMS on my server and i have a problem with Loading Themes!
except DefaultClean Theme i cant use any theme!
this will happen when i change my theme to any other theme




would u guys please help me ?
thanks



I hope css file is missing under this theme. please check css file exist or not(may be its left during publishing code).
один год назад
I have the same problem, can someone has a solution ?
один год назад
Did you check these 2 things?
один год назад
Yes I've checked both things , I've installed nop on my local IIS and downloaded 2 different themes from free template on nop site Baker and Wristwear, but for both themes no css and js.
Looking at delevoper console in chrome I can see no erros (except a 404 for logo) but no css for custom themes and normal css for default one.
Can this info help?
Thank you for your precious feedback
Kind regards
Fabrizio
один год назад
How is your minification settings. Share a screenshot of Minification (Configuration > Settings > General settings) tab. Also share screenshots of _Root.Head.cshtml and theme content folder structure.
один год назад
Hi Jaber, thank you for your answer, here you can find the info

[url=https://1drv.ms/u/s!AigFpWk8h0GOgZUdLsWYLBpDtl91Cg?e=3aZI1Z]   Minification settings
[url=https://1drv.ms/u/s!AigFpWk8h0GOgZUeW-etkcKQt-H2nw?e=Qx4tJt]
  _Root.Head

[url=https://1drv.ms/u/s!AigFpWk8h0GOgZUcShgZygzC-OojKA?e=8QHg5e]
Floder structure

Let me know if you need additional info.
Kind regards[/url]
Fabrizio
один год назад
Your BakeDelightsTheme is in ~/Themes/BakeDelightsTheme_4.20/Themes directory. But it should be in ~/Themes directory.
один год назад
Thank you for your help Jaber, now it works.
Kind regards
Fabrizio