Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / EVERYTHING is centered... EVERYTHING! please help me

EVERYTHING is centered... EVERYTHING! please help me

Views: 1,477

Results 1 to 14 of 14
11 Apr 2011, 2:55 AM
#1
johnniejetski avatar

johnniejetski

New Zenner

Join Date:
Jan 2011
Posts:
66
Plugin Contributions:
0

EVERYTHING is centered... EVERYTHING! please help me

I have no idea what I did to change the global default to centered, but my sideboxes, descriptions, almost the entire site is now with centered text and pics, even when I manually enter html to align left.

11 Apr 2011, 3:11 AM
#2
johnniejetski avatar

johnniejetski

New Zenner

Join Date:
Jan 2011
Posts:
66
Plugin Contributions:
0

Re: EVERYTHING is centered... EVERYTHING! please help me

some info: I am using 1.3.9h, I did play with the copyright in the footer, maybe that is when this happened?

11 Apr 2011, 3:20 AM
#3
nigelt74 avatar

nigelt74

Totally Zenned

Join Date:
Sep 2005
Location:
Waikato, New Zealand
Posts:
1,558
Plugin Contributions:
1

Re: EVERYTHING is centered... EVERYTHING! please help me

johnniejetski:

some info: I am using 1.3.9h, I did play with the copyright in the footer, maybe that is when this happened?

A link to the site would of course help.

does it happen when you switch back to the classic template

11 Apr 2011, 4:59 AM
#4
kobra avatar

kobra

Black Belt

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

Re: EVERYTHING is centered... EVERYTHING! please help me

even when I manually enter html to align left
And where might you be entering this?

11 Apr 2011, 5:09 AM
#5
johnniejetski avatar

johnniejetski

New Zenner

Join Date:
Jan 2011
Posts:
66
Plugin Contributions:
0

Re: EVERYTHING is centered... EVERYTHING! please help me

jetskiwarehouse.com
does not have a problem in classic

11 Apr 2011, 5:10 AM
#6
johnniejetski avatar

johnniejetski

New Zenner

Join Date:
Jan 2011
Posts:
66
Plugin Contributions:
0

Re: EVERYTHING is centered... EVERYTHING! please help me

kobra:

And where might you be entering this?

product description

11 Apr 2011, 5:29 AM
#7
kobra avatar

kobra

Black Belt

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

Re: EVERYTHING is centered... EVERYTHING! please help me

Your product description on the product info pages appear ok not centered
I suspect that you are referencing your product listing pages and if so find this in your stylesheet

.centeredContent, th, #cartEmptyText, #cartBoxGVButton, #cartBoxEmpty, #cartBoxVoucherBalance, #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;
	}

pull .productListing-data out into it's own rule to resebble something like this

.productListing-data {
	text-align: left;
	}
.centeredContent, th, #cartEmptyText, #cartBoxGVButton, #cartBoxEmpty, #cartBoxVoucherBalance, #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;
	}
11 Apr 2011, 5:51 AM
#8
johnniejetski avatar

johnniejetski

New Zenner

Join Date:
Jan 2011
Posts:
66
Plugin Contributions:
0

Re: EVERYTHING is centered... EVERYTHING! please help me

i tried that, no change, but maybe I am editing the wrong stylesheet.css? there are so many. I grabbed the one in catalog/includes/templates/future_zen/css

11 Apr 2011, 5:54 AM
#9
johnniejetski avatar

johnniejetski

New Zenner

Join Date:
Jan 2011
Posts:
66
Plugin Contributions:
0

Re: EVERYTHING is centered... EVERYTHING! please help me

Also, it appears to me that will alter the product listings, but not the category box, so can you tell me what it is called and I will do some trial and error changes, or maybe I will figure out which page needs to be editied

11 Apr 2011, 6:34 AM
#10
johnniejetski avatar

johnniejetski

New Zenner

Join Date:
Jan 2011
Posts:
66
Plugin Contributions:
0

Re: EVERYTHING is centered... EVERYTHING! please help me

let me say this is not happening in firefox, only IE8 :yuck:

11 Apr 2011, 6:42 AM
#11
johnniejetski avatar

johnniejetski

New Zenner

Join Date:
Jan 2011
Posts:
66
Plugin Contributions:
0

Re: EVERYTHING is centered... EVERYTHING! please help me

and now after downloading ff4.0, now none of my "larger image" links work and the product listings are completely out of sync, instead of being one product on one row, one product now takes up 3 rows, 1.picture, 2.title and description, then 3.add to cart
I am NOT enjoying this build!

12 Apr 2011, 8:19 PM
#13
johnniejetski avatar

johnniejetski

New Zenner

Join Date:
Jan 2011
Posts:
66
Plugin Contributions:
0

Re: EVERYTHING is centered... EVERYTHING! please help me

cool tool! Thanks!
now I have to try to remember where to find the file where the tagline is located

12 Apr 2011, 9:52 PM
#14
kobra avatar

kobra

Black Belt

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

Re: EVERYTHING is centered... EVERYTHING! please help me

now I have to try to remember where to find the file where the tagline is located
Tutorials link above right is a resource

I searched for tagline
https://www.zen-cart.com/tutorials/index.php?article=127

And in the future learn to use the developers tool kit

https://www.zen-cart.com/tutorials/index.php?article=38
https://www.zen-cart.com/tutorials/index.php?article=39