Forums / Templates, Stylesheets, Page Layout / Default buttons in shopping cart are distorted and huge..

Default buttons in shopping cart are distorted and huge..

Started by shortmop on 29 Aug 2011, 5:37 AM · Views: 719

Results 1 to 5 of 5
29 Aug 2011, 5:37 AM
#1
shortmop avatar

shortmop

New Zenner

Join Date:
Aug 2011
Posts:
16
Plugin Contributions:
0

Default buttons in shopping cart are distorted and huge..

Version 1.3.9h of Zen Cart. Brand new store...no upgrades and no addons. I've searched for hours but can not find out why the default buttons in my shopping cart are distorted and huge in size. Some are like this while some look normal. Site Addr: https://www.mardiawebworks.com/store I've learned a LOT from these forums but can't find an answer to fix this. Thanks in advance!
PS.....I also attached an image of the distorted buttons I've found so far.

29 Aug 2011, 5:44 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Default buttons in shopping cart are distorted and huge..

In your custom stylesheet.css file you've edited the FORM, SELECT, INPUT selector to include "width: 125px;" which is causing all the images in your FORM and SELECT and INPUT elements to be forced to that width, thus causing the distortion.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

29 Aug 2011, 5:47 AM
#3
shortmop avatar

shortmop

New Zenner

Join Date:
Aug 2011
Posts:
16
Plugin Contributions:
0

Re: Default buttons in shopping cart are distorted and huge..

I believe I edited that in error, do you know what the original or default value for that was or is suppose to be? I thank you kindly for your very fast response. :clap:

29 Aug 2011, 5:56 AM
#4
shortmop avatar

shortmop

New Zenner

Join Date:
Aug 2011
Posts:
16
Plugin Contributions:
0

Re: Default buttons in shopping cart are distorted and huge..

:oops: With what you said above, I checked the template_default stylesheet and found the difference, I added width where there was none originally. I just removed it, uploaded and that fixed it!!!! Thank you so much for letting me know where to look to find my error!

29 Aug 2011, 6:00 AM
#5
shortmop avatar

shortmop

New Zenner

Join Date:
Aug 2011
Posts:
16
Plugin Contributions:
0

Re: Default buttons in shopping cart are distorted and huge..

Last time.....I read your answer incorrectly the first time, replied and look like an idiot.....LOL It's late, should go to bed. Thanks again though for finding the problem and telling me how/where to fix it. :wink: