0

I have a custom theme, the footer, header & home page are all working.

I have a main navigation that links to 5 pages.

I now need to set the style for these 5 pages - and the other pages that link from them (it's different to the home page) - one section of which needs an additional navigation menu on the left (main nav is top).

Would I do this in Visual Studio - or can it be done through the admin web interface?

What is the best approach?

Thanks.

4

1 回答 1

0

您可以在不是主页的图层上添加额外的导航小部件。至于不同页面上的不同样式,您可以采用多种方式。

例如,您可以检查您正在加载的页面是否是主页并加载一些样式以覆盖默认样式。这将是我想的简单方法。

如果您需要主页的全新布局,您可以查看图库中的此模块,该模块可让您为每个内容项选择不同的布局。我自己从未使用过它,但看起来它可能很酷:) http://gallery.orchardproject.net/List/Modules/Orchard.Module.Downplay.Orchard.LayoutSelector

于 2013-07-19T09:39:26.187 回答