Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / gah..no pop up image!

gah..no pop up image!

Locked

Views: 1,148

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
20 Jan 2007, 8:34 PM
#1
sheddoggie avatar

sheddoggie

New Zenner

Join Date:
Nov 2006
Posts:
14
Plugin Contributions:
0

gah..no pop up image!

I'm not sure how this happened..but now I have no pop up images. The pop up appears...but no image in it.
where do I turn this off or on?
thanks!

http://skidrowskate.com/shop/

21 Jan 2007, 1:20 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: gah..no pop up image!

If pop up image = larger image - then I am seeing them ??

Try clearing your browser cache, close the browser and re-launch and see if that helps

21 Jan 2007, 2:26 AM
#3
sheddoggie avatar

sheddoggie

New Zenner

Join Date:
Nov 2006
Posts:
14
Plugin Contributions:
0

Re: gah..no pop up image!

Thanks for looking, I figured it out. A classic "trickle down" situation.

It started with me altering the CSS script body tag to:

body {
font-family: verdana, arial, helvetica, sans-serif;
font-size: 62.5%;
color: #000000;
background-color: #FFFFFF;
width: 850px;
margin-top: 0px;
margin-left:auto;
margin-right:auto;

This worked great for centering the shop and making it the same size as the rest of the website....but.... it also effected the pop up window.
I'm guessing it is encompassed in the body tag somehow. the images were always there, you just couldn't see them until you made the window bigger. They were centered, in a window sized the same as the rest of the pages, not the default 300 x 300..or whatever it is.

so...the fix (I hope) was to pull out the pop up tag by itself and give it these commands. I added a little room at the top to make it look nice.

#popupImage {
width: 300px;
margin-top: .5em;
}

I am certanly learning my way around my CSS page..... whether or not it's proper coding..who knows? It looks great on my computer.

21 Jan 2007, 3:15 AM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: gah..no pop up image!

The body tag actually is to control the space around/behind your shop
You should actually be defining these in the main wrapper entry like this:

 #mainWrapper {
	width: 80%;
        background-color: #FFFFFF;
	text-align: center;
	vertical-align: top;
        border: 1px solid #000000;

and reduce the declarations in your body to something like:

body {
	margin: 0;
	font-family: verdana, arial, helvetica, sans-serif;
	font-size: 62.5%;
	color: #000000;
	background-color: #e5edf5;
	}
21 Jan 2007, 4:01 AM
#5
sheddoggie avatar

sheddoggie

New Zenner

Join Date:
Nov 2006
Posts:
14
Plugin Contributions:
0

Re: gah..no pop up image!

I think that is how it was originally. The problem when I put in the 80% is it pulled it to the left.

I'll try it that way and see what happens. Thanks! :yes: