New Zenner
- Join Date:
- Sep 2005
- Posts:
- 18
- Plugin Contributions:
- 0
Views: 3,852
New Zenner
Oba-san
That is the Category Image ...
In Zen Cart v1.3.5 ... there is now a setting for showing the image when there is one or not showing it at all ...
Configuration ... Product Info ...
Previous Next - Navigation Includes Category Name and Image Status
Product's Category Image and Name Status
0= Category Name and Image always shows
1= Category Name only
2= Category Name and Image when not blank
New Zenner
Thanks much.
Now how do I get rid of the "Free Shipping" image that shows up under the amount of the product?
Oba-san
You have it marked as Always Free Shipping YES ...
If you don't want the icon ... there is a setting in the:
Catalog ... Product Types ...
Pick the Product Type the Product is using and hit Edit Layout ...
Change the setting there ... to turn off on the Catalog Listings ...
To change on the tpl_product_info_default.php you would edit:
<!--bof free ship icon -->
<?php if(zen_get_product_is_always_free_shipping($products_id_current)) { ?>
<div id="freeShippingIcon"><?php echo TEXT_PRODUCT_FREE_SHIPPING_ICON; ?></div>
<?php } ?>
<!--eof free ship icon -->
Be sure that you are using your templates and overrides directory ...
Totally Zenned
If you are never ever wanting it to show you can also use :
.freeShippingIcon {display: none;}
In the stylesheet of your custom template
One less core file to over ride.:smartass:
New Zenner
TinaS:
If you are never ever wanting it to show you can also use :
.freeShippingIcon {display: none;}
In the stylesheet of your custom template
One less core file to over ride.:smartass:
I've added this to my css under MYTEMPLATE folder and I turned off the shipping image in Product Types. It's still showing up. What am I missing here?
Totally Zenned
Oh, must be this one instead;
#freeShippingIcon {
display: none;
}
Please change the period(.) to the number character that's in red.
New Zenner
The # did the trick. Thanks.
One other thing I'm struggling with is spacing right before the product info. I cannot find where to alter this area. (Refer to the thumbnail I posted at the beginning of this thread.) I'd like a space or two between the title of the catagory and the start of the product info.
Totally Zenned
You're welcome.
Okay, I think I know what you mean. I see that the title sits almost on top of the picture. In your stylesheet, you can adjust this.
Find;
.categoryIcon { }
and place a margin-bottom value to your preference, like so;
.categoryIcon { margin-bottom: 1em; }
If you can't locate the .categoryIcon, then just add in the above.
New Zenner
OK...that worked too. Thanks.
Seeing as we're on a roll here could you help me find out why I have a white bar below my logo in IE version 6.0.2900.2180?
Edited: Guess it would help to have the URL!
Totally Zenned
You're welcome.
If you want, you can PM me with the contents of your template tpl_header.php and I can see if I can balance it out between IE and FF. :smile:
Tell staff why this post should be reviewed.