Forums / Templates, Stylesheets, Page Layout / For some reason, text gets smaller on shopping cart page...

For some reason, text gets smaller on shopping cart page...

Views: 750

Results 1 to 7 of 7
25 Mar 2012, 3:39 AM
#1
webkat avatar

webkat

Zen Follower

Join Date:
Jan 2012
Location:
New England
Posts:
238
Plugin Contributions:
0

For some reason, text gets smaller on shopping cart page...

I'm using Zen Cart 1.5.0 on my dad's site at http://huckproducts.net/. If you go there, then put something in your cart, then click on the Shopping Cart link, all the text on the whole page gets smaller, and the background image behind the sidebox headers shrinks so it's only as wide as the text, not as wide as the box. It's using the same exact stylesheet(s), so I'm not sure what is going on. Can anyone with a better eye than me spot the problem? Thanks a bunch...

25 Mar 2012, 11:28 AM
#2
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,109
Plugin Contributions:
56

Re: For some reason, text gets smaller on shopping cart page...

There's a file called "one-click.css" that's being pulled in on the shopping-cart page. It's the one that's reducing the font-size on the whole body ...

25 Mar 2012, 11:28 AM
#3
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Re: For some reason, text gets smaller on shopping cart page...

Remove the body selectors in your one-click.css file. That file references selectors for your Checkout with Amazon button.

Hope this helps!

26 Mar 2012, 11:13 AM
#5
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,109
Plugin Contributions:
56

Re: For some reason, text gets smaller on shopping cart page...

Use your admin's developers toolkit and search for

<!--BEGIN CHECKOUT BY AMAZON SCRIPTS, 1click & express checkout  -->

... there's code there that is pulling that CSS file in. If you post the code fragment, someone might be able to help.

26 Mar 2012, 11:45 AM
#6
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Re: For some reason, text gets smaller on shopping cart page...

look in \includes\modules\pages\shopping_cart\jscript_cba.php

and delete:

<link href=<?php echo(CBA_STYLE_SHEET); ?> media="screen" rel="stylesheet" type="text/css"/>
26 Mar 2012, 10:02 PM
#7
webkat avatar

webkat

Zen Follower

Join Date:
Jan 2012
Location:
New England
Posts:
238
Plugin Contributions:
0

Re: For some reason, text gets smaller on shopping cart page...

Thanks! That worked! That had really been bugging me!