General Layout & Design Questions

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
1 year ago
Hello everyone,

I'm new to nopcommerce. I've been looking the the documentation and through the forum posts and I cannot seem to find direct guidance on modifying a theme.
I found the head.cshtml file in Themes/DefaultClean/Views/Shared directory. I see the layout is empty  (Layout ="";) and I see the CSS files there.

I then find the index.cshtml file in Views/Home direcrectory if find widget zones. I've gathered that public widget zones are what clients see. Is there an admin widget zone? How would I access these zones to change the overall look of the site. I didnt think that nopCommerce would have these things abstracted away. I simply want to edit a view to create static pages (home page, about, contact us etc).

Can anyone please guide in the right direction or point me to a meaningful resource on how to edit these themes?
1 year ago
Keven1 wrote:
I cannot seem to find direct guidance on modifying a theme.
in Themes/DefaultClean/Views/Shared directory and I see the CSS files there.

You can copy the existing theme and modify it
See https://docs.nopcommerce.com/en/developer/design/new-theme.html

Keven1 wrote:
in Views/Home direcrectory if find widget zones. I've gathered that public widget zones are what clients see.

Widget Zones are a way to programmatically inject code and content into a page
See https://docs.nopcommerce.com/en/developer/design/widgets.html#:~:text=In%20nopCommerce%2C%20a%20widget%20plugin,Google%20Analytics

Keven1 wrote:
Is there an admin widget zone?

Yes - Search the code for AdminWidgetZones.OrderListButtons

Keven1 wrote:
I simply want to edit a view to create static pages (home page, about, contact us etc).

Have you looked at Topics which are like a new static page - you can create new topics with a hyperlink and link them existing pages and content
For example this page is a Topic
https://demo.nopcommerce.com/about-us

Other than that there are various plugins to create and manage content and link it to menus
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.