nopCommerce 4.2 does not Load Any theme!

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
4 years ago
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
4 years ago
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.
4 years ago
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).
4 years ago
I have the same problem, can someone has a solution ?
4 years ago
Did you check these 2 things?
4 years ago
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
4 years ago
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.
4 years ago
Hi Jaber, thank you for your answer, here you can find the info

   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]
[img]https://1drv.ms/u/s!AigFpWk8h0GOgZUcShgZygzC-OojKA?e=8QHg5e[/img" rel="nofollow,ugc"> Floder structure

Let me know if you need additional info.
Kind regards

Fabrizio
4 years ago
Your BakeDelightsTheme is in ~/Themes/BakeDelightsTheme_4.20/Themes directory. But it should be in ~/Themes directory.
4 years ago
Thank you for your help Jaber, now it works.
Kind regards
Fabrizio
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.