
Originally Posted by
Athens Collectibles
No idea how it works, but it does!
What I do is go to each page I want to remove breadcrumbs from and look at the URL in the browser. For example:
http://athenscollectibles.info/index..._page=about_us
I use the last part (about_us) without the underscore to form the CSS line:
#aboutusBody #navBreadCrumb{ display: none; }
It doesn't work if I leave the underscore but don't ask me why. I don't use Easy Pages but, as you discovered, it works on the same principle (page2Body rather than page_2Body). A Zen Cart guru could provide an explanation. Although it works as described, it would still be good to learn what's behind it.
#aboutusBody -- if you look at the source of your "about us" page you will see that that is the body id
HTML Code:
<body id="aboutusBody">
so your rule will only work on specific that page.
each page has a different body ID
obviously all the category pages have the same body ID "indexBody"
and all the product info page have the same id "productinfoBody"
infact if you wanted to only show breadcrumbs on products and categories, you could possibly reverse your thinking
and do something like this
HTML Code:
#navBreadCrumb{ display: none; }
#indexBody #navBreadCrumb{ display: block; }
#productinfoBody #navBreadCrumb{ display: block; }
Which has a lot fewer rules
--------------------------
seems to work on test site, but haven't fully tested it