Silver Muru > Blog > 2019 > Page 3

nopCommerce themede loomine

Oma theme loomine

Creating / Writing your own theme (using current / default theme)
Creating an nopCommerce Theme the Definitive Guide

Kohandatud CSS pärast theme ja pluginate faile

C/C++
5 lines
1
2
3
4
5
@{
Html.AddCssFileParts("~/Themes/DefaultClean/Content/styles.custom.plugins.css");
}
@Html.NopCssFiles(this.Url, ResourceLocation.Head)
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Custom CSS after plugin’s CSS

Dünaamilised url-id

C/C++
1 lines
1
<img src="@Url.Content("~/ ?? THEME PATH ?? /Content/images/ico-facebook.png")" alt="" />
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Dynamic path for themed images for NopCommerce 2.0 with MVC Razor