Zen Cart Logo

Messy photo layout

Locked

Views: 1,525

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
21 Mar 2010, 2:57 PM
#1
kayz avatar

kayz

New Zenner

Join Date:
Sep 2009
Location:
Victoria
Posts:
88
Plugin Contributions:
0

Messy photo layout

I have loaded all my photos into Zen Cart 3.8 but they look really messy. All of my thumb nail photos look good but the photos on my subcategory pages are all bunched together with no gaps in between them. to see what I'm taking about here is a link to one of those pages.

http://passionsignite.com.au/zen-cart-v1.3.8a-full-fileset-12112007/index.php?main_page=index&cPath=96_97

Does any one know what I can do about this?

I was thinking about putting a border around each photo so that they look more in line with each other but I'm still trying to work out how to do that with as little coding as possible.
Coding is not my strong point at all. lol

21 Mar 2010, 5:33 PM
#2
kobra avatar

kobra

Black Belt

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

Re: Messy photo layout

In your stylesheet.css file find this

.centeredContent, TH, #cartEmptyText, #cartBoxGVButton, #cartBoxEmpty, #cartBoxVoucherBalance, #navCatTabsWrapper, #navEZPageNextPrev, #bannerOne, #bannerTwo,  #bannerThree,  #bannerFour,  #bannerFive,  #bannerSix, #siteinfoLegal, #siteinfoCredits, #siteinfoStatus, #siteinfoIP, .center, .cartRemoveItemDisplay, .cartQuantityUpdate, .cartQuantity, .cartTotalsDisplay, #cartBoxGVBalance, .leftBoxHeading, .centerBoxHeading,.rightBoxHeading, .productListing-data, .accountQuantityDisplay, .ratingRow, LABEL#textAreaReviews, #productMainImage, #reviewsInfoDefaultProductImage, #productReviewsDefaultProductImage, #reviewWriteMainImage, .centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .additionalImages, .centerBoxContentsSpecials, .centerBoxContentsAlsoPurch, .centerBoxContentsFeatured, .centerBoxContentsNew, .gvBal, .attribImg {
	text-align: center;
	}

Seperate out .productListing-data to resemble this

.centeredContent, TH, #cartEmptyText, #cartBoxGVButton, #cartBoxEmpty, #cartBoxVoucherBalance, #navCatTabsWrapper, #navEZPageNextPrev, #bannerOne, #bannerTwo,  #bannerThree,  #bannerFour,  #bannerFive,  #bannerSix, #siteinfoLegal, #siteinfoCredits, #siteinfoStatus, #siteinfoIP, .center, .cartRemoveItemDisplay, .cartQuantityUpdate, .cartQuantity, .cartTotalsDisplay, #cartBoxGVBalance, .leftBoxHeading, .centerBoxHeading,.rightBoxHeading, .accountQuantityDisplay, .ratingRow, LABEL#textAreaReviews, #productMainImage, #reviewsInfoDefaultProductImage, #productReviewsDefaultProductImage, #reviewWriteMainImage, .centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .additionalImages, .centerBoxContentsSpecials, .centerBoxContentsAlsoPurch, .centerBoxContentsFeatured, .centerBoxContentsNew, .gvBal, .attribImg {
	text-align: center;
	}

.productListing-data {
        text-align: center;
        padding: 1em 0em 2em 0em;
        }
22 Mar 2010, 2:33 AM
#3
pdxdoug avatar

pdxdoug

Zen Follower

Join Date:
Jan 2008
Location:
Portland, Oregon USA
Posts:
356
Plugin Contributions:
0

Re: Messy photo layout

Kayz:

I was thinking about putting a border around each photo so that they look more in line with each other but I'm still trying to work out how to do that with as little coding as possible.

You may want to use photoshop or something similar to size all your photos the same. Consistency will make your shop look less 'messy'.

22 Mar 2010, 5:14 AM
#4
kayz avatar

kayz

New Zenner

Join Date:
Sep 2009
Location:
Victoria
Posts:
88
Plugin Contributions:
0

Re: Messy photo layout

kobra:

In your stylesheet.css file find this

.centeredContent, TH, #cartEmptyText, #cartBoxGVButton, #cartBoxEmpty, #cartBoxVoucherBalance, #navCatTabsWrapper, #navEZPageNextPrev, #bannerOne, #bannerTwo, #bannerThree, #bannerFour, #bannerFive, #bannerSix, #siteinfoLegal, #siteinfoCredits, #siteinfoStatus, #siteinfoIP, .center, .cartRemoveItemDisplay, .cartQuantityUpdate, .cartQuantity, .cartTotalsDisplay, #cartBoxGVBalance, .leftBoxHeading, .centerBoxHeading,.rightBoxHeading, .productListing-data, .accountQuantityDisplay, .ratingRow, LABEL#textAreaReviews, #productMainImage, #reviewsInfoDefaultProductImage, #productReviewsDefaultProductImage, #reviewWriteMainImage, .centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .additionalImages, .centerBoxContentsSpecials, .centerBoxContentsAlsoPurch, .centerBoxContentsFeatured, .centerBoxContentsNew, .gvBal, .attribImg {
text-align: center;
}

> Seperate out .productListing-data   to resemble this
> ```
.centeredContent, TH, #cartEmptyText, #cartBoxGVButton, #cartBoxEmpty, #cartBoxVoucherBalance, #navCatTabsWrapper, #navEZPageNextPrev, #bannerOne, #bannerTwo,  #bannerThree,  #bannerFour,  #bannerFive,  #bannerSix, #siteinfoLegal, #siteinfoCredits, #siteinfoStatus, #siteinfoIP, .center, .cartRemoveItemDisplay, .cartQuantityUpdate, .cartQuantity, .cartTotalsDisplay, #cartBoxGVBalance, .leftBoxHeading, .centerBoxHeading,.rightBoxHeading, .accountQuantityDisplay, .ratingRow, LABEL#textAreaReviews, #productMainImage, #reviewsInfoDefaultProductImage, #productReviewsDefaultProductImage, #reviewWriteMainImage, .centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .additionalImages, .centerBoxContentsSpecials, .centerBoxContentsAlsoPurch, .centerBoxContentsFeatured, .centerBoxContentsNew, .gvBal, .attribImg {
	text-align: center;
	}

.productListing-data {
        text-align: center;
        padding: 1em 0em 2em 0em;
        }

Thank you for your response. I posted the coding as you showed but still have no gap between my photos. Any other suggestions? or am I doing something wrong.

22 Mar 2010, 10:47 AM
#5
kobra avatar

kobra

Black Belt

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

Re: Messy photo layout

I posted the coding as you showed but still have no gap between my photos. Any other suggestions?
Clear your browser cache - - I see the padding applied

22 Mar 2010, 1:42 PM
#6
kayz avatar

kayz

New Zenner

Join Date:
Sep 2009
Location:
Victoria
Posts:
88
Plugin Contributions:
0

Re: Messy photo layout

It's strange. I applied the padding and nothing happened. But when I look at my site through Fire Fox it does show. There are several things that do show in Fire Fox but not in Explorer.
Do you have any idea why and how I can fix these problem? There are many people that use Explorer (I usually do)
In a perfect world I would like my site to look good in both Fire Fox and Explorer.
I'm hoping I can make it a perfect world. lol. What do you think?

22 Mar 2010, 2:14 PM
#7
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Messy photo layout

Still probably your IE browser cache. The spacing shows fine here in IE6, 7 and 8.

23 Mar 2010, 1:18 PM
#8
kayz avatar

kayz

New Zenner

Join Date:
Sep 2009
Location:
Victoria
Posts:
88
Plugin Contributions:
0

Re: Messy photo layout

Thanks for the help. It seems to be working now. I thought I had cleared the cache but turns out I didn't. da. lol

I think I must just be getting frusteated because there is so much I don't understand and either can't fix or it takes me forever to fix.
So many problems. So little time. Such is life I guess. lol

Once again thanks for the help.