Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Add to Cart button obscured by additional image

Add to Cart button obscured by additional image

Locked

Views: 1,150

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
14 Aug 2008, 1:15 PM
#1
brent avatar

brent

Totally Zenned

Join Date:
Mar 2005
Location:
United Kingdom
Posts:
606
Plugin Contributions:
0

Add to Cart button obscured by additional image

Hi,

Please could one of the CSS boffins take a look at this link and tell me why the add to cart button is hidden underneath the additional image?

I also have a similar problem where the "Customers who purchased this product..." sits on top of Tell a Friend and Add to Cart.

I got around this by changing:

.centerBoxWrapper {
margin: 1.1em 0;
to
.centerBoxWrapper {
margin: 13.1em 0;
but this has small knock on effects elsewhere.

This store was upgraded from 1.2.7d and I have added Column Divider Pro if either of these facts are important.

Any help greatly appreciated as I've trawled through many posts but found nothing that shows me the light.

Regards

Brent

14 Aug 2008, 2:04 PM
#2
brent avatar

brent

Totally Zenned

Join Date:
Mar 2005
Location:
United Kingdom
Posts:
606
Plugin Contributions:
0

Re: Add to Cart button obscured by additional image

Sorry forgot to state that this problem only appears when viewing in Firefox.

14 Aug 2008, 6:54 PM
#3
lissae avatar

lissae

Totally Zenned

Join Date:
Oct 2007
Location:
Australia
Posts:
814
Plugin Contributions:
0

Re: Add to Cart button obscured by additional image

Try adding <br class="clearBoth"/> between the add to cart section and the additional product section in includes/templates/template_default/templates/tpl_product_info_display.php and save it to your custom folder includes/templates/uktemplate/templates/tpl_product_info_display.php, (if you're already modified this file just edit the one in your overides) put it right before this section:

<!--bof Additional Product Images -->

Hopefully that will help :D

14 Aug 2008, 10:07 PM
#4
brent avatar

brent

Totally Zenned

Join Date:
Mar 2005
Location:
United Kingdom
Posts:
606
Plugin Contributions:
0

Re: Add to Cart button obscured by additional image

Very helpful :clap:

I had been trying to add <div class="clearBoth"></div> as mentioned in other threads but it either made no difference or I got a blank page. Was I putting it in the wrong place or is this not the same as <br class="clearBoth"/> ?

Anyway thanks again as your suggestion fixed my problem. The tell a friend link still needs moving but I get the idea now and will experiment.

14 Aug 2008, 10:31 PM
#5
lissae avatar

lissae

Totally Zenned

Join Date:
Oct 2007
Location:
Australia
Posts:
814
Plugin Contributions:
0

Re: Add to Cart button obscured by additional image

You're welcome :D
I don't think they are the same, but cannot say for sure LOL

14 Aug 2008, 10:34 PM
#6
brent avatar

brent

Totally Zenned

Join Date:
Mar 2005
Location:
United Kingdom
Posts:
606
Plugin Contributions:
0

Re: Add to Cart button obscured by additional image

For anyone else struggling to understand what clearBoth does I found the practical example here very helpful.