where is the App_themes/publicStore/style.css cited in the masterfile?

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
14 years ago
I tried to build a new theme for nopCommerce Shop, I found there's a style.css file which controls the style of the websites, but where's this file being cited in the webpage?

Anyone got any ideas about it?

Many thanks

Larry
14 years ago
Any style sheets added to your theme folder are added automatically at runtime. All you need to do is create your  theme folder, make your css changes and change the theme in web.config <pages theme="YourTheme">

Hope this helps
Ben
10 years ago
In nopCommerce 3.0 or newer version, if you intend to keep most of the theme and just supply your own style.css, open up Themes\<theme name>\Views\Shared\Head.cshtml, and modify the following line of code

        Html.AppendCssFileParts("~/Themes/DefaultClean/Content/styles.css");

Cheers,
Kevin

Awardpedia - award-winning books, music, movies, toys & more
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.