I have a jewelry banner ad (footer) that I only want displayed on my Jewelry product page. Is there a way to turn the banner off the Home page and all other products pages??
Thank you!
Gina
http://enchantedcottageshop.com
I have a jewelry banner ad (footer) that I only want displayed on my Jewelry product page. Is there a way to turn the banner off the Home page and all other products pages??
Thank you!
Gina
http://enchantedcottageshop.com
Last edited by enchanted1; 11 Oct 2014 at 06:05 PM.
in your shop/includes/templates/elegancer/css/stylesheet.css file add the following at the end of the file or at least after the last occurrence of #bannerFour:
Then create a file that has the name of your product or category for which it is to be displayed...Code:#bannerFour { display: none; }
so for example if category 3 is the category that contains the products to have that banner, then the filename would be:
c_3.css and located in the same directory as above: shop/includes/templates/elegancer/css/c_3.css
A reference for use would be: http://www.zen-cart.com/wiki/index.p...Per-Page-Rules
and add the following css into it:
Code:#bannerFour { display: block; }
ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...
Thank you so much for helping me...it is greatly appreciated! My only question is how would I know this is bannerFour? I don't see where the banners are numbered when I go into banner manager. Thanks!
Well, it was determined/assumed based on the description that the banner at the bottom of the index page (found one on your site) was not to be displayed. That banner had the html/css tag applicable to bannerfour. So aa method was devised to hide it, but... If there are multiple banners all assigned to the same group or same location(s) as defined through the banner manager and configuration template layout, then the method suggested does not work as it eliminates all banners from being displayed at the page(s) not just a single banner of many. If that is/was the goal to only not show a single banner of many except when in a particular page/condition then the above does not apply.
As to how to identify which banner it is/was from my side? Viewed the source code of the provided page and looked for banners that were displayed. Could take the same tact to identify the other banner position(s) to hide, but understand that hiding a banner could have an impact to the rest of site "advertising" as then the banner position is no longer available for display. Sorry to provide such a drastic approach, I didn't think of the single banner of many aspect when providing a response.
ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...
Thanks! Maybe one day Zencart will have the option to post banners to certain pages
ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...
Bookmarks