SUGGESTION : categorynavigation.cshtml -- add some style rules to child categories so we can easily customise through css

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
11 years ago
sam_lpmk wrote:
While the users are browsing a specific subcategory, all of the subcategories in the same level must be colored (red, in this case) except the subcategory that I’m browsing that has the inverted foreground and background colors. I’ve tried changing the CSS3 file
Thanks


Hi there Sam, I'm not sure if this is what you meant but have a look at http://nopmods.jonhopley.co.uk
from this thread https://www.nopcommerce.com/boards/t/22523/new-header-menu-with-category-subcategory-nav.aspx

It is possible to have the sub list the same colour as the selected category in the header menu whilst hovering on it.

I am now thinking you are referring to the breadcrumb or category widget?
11 years ago
Is it possible to make the css dependant on the page being loaded i.e. I would like the category and manufacturer widgets to load with one colour scheme on category pages and a different colour scheme for manufacturer pages?
11 years ago
have you tried editing the stylesheet ? you might have to add style rules and matching ones in the cshtml page.

you might also try (if the above doesn't work) adding style rules into the cshtml :

@{
    Layout = "~/Views/Shared/_ColumnsTwo.cshtml";

<style>
.yourstylerule {}
</style>
}
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.