Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Customizing the Look of Your Shop / Templates, Stylesheets, Page Layout / Template skewed to the right in Safari and Google Chrome

Template skewed to the right in Safari and Google Chrome

Locked

Started by cafman on 14 Nov 2009, 2:32 AM · Views: 3,436

Results 1 to 13 of 13
This thread is locked. New replies are disabled.
14 Nov 2009, 2:32 AM
#1
cafman avatar

cafman

New Zenner

Join Date:
Jul 2009
Location:
Melbourne, Australia
Posts:
80
Plugin Contributions:
0

Post #1 by cafman

I have been going over my meta tags and improving them to get better search engine results. All was going well until I decided to take a look at my Zen Cart in Safari.

To my shock, suddenly the template is all skewed to the right! :shocking:
http://www.my-bookcafe.com/shop/index.php

Could my editing of the keywords and descriptions have caused this?
The page still looks fine in IE, Firefox and Opera.

This is quite awful and is worrying me no end. :(

http://www.my-bookcafe.com
Note to self: whenever you so much as dot an i or cross a t in ZenCart, check how it looks in all browsers. Until then it is not safe to think all is well!!!!

14 Nov 2009, 2:47 AM
#2
hedron avatar

hedron

Zen Follower

Join Date:
Feb 2009
Posts:
138
Plugin Contributions:
0

Post #2 by hedron

cafman:

I have been going over my meta tags and improving them to get better search engine results.

Would you please be so kind to share with us what kind of meta tags improvement you have implemented?

cafman:

All was going well until I decided to take a look at my Zen Cart in Safari.

To my shock, suddenly the template is all skewed to the right! :shocking:
http://www.my-bookcafe.com/shop/index.php

Could my editing of the keywords and descriptions have caused this?
The page still looks fine in IE, Firefox and Opera.

This is quite awful and is worrying me no end. :(

I don't have Safari, but it also looks skewed on Google Chrome. It looks fine on IE and Firefox.

However I doubt that template issues would have anything to do with meta tags changes. (But don't take my word for it, I am no expert)

A better place where to ask for template assistance is this forum area:
http://www.zen-cart.com/forum/forumdisplay.php?f=14

14 Nov 2009, 5:07 AM
#3
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,920
Plugin Contributions:
24

Post #3 by dbltoe

cafman,
Whenever something go askew, the first place I look is the html validator addon for firefox. the bad div or facebook link could be part of the problem.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

14 Nov 2009, 11:20 AM
#4
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Post #4 by website_rob

cafman:

I have been going over my meta tags and improving them to get better search engine results. All was going well until I decided to take a look at my Zen Cart in Safari.

To my shock, suddenly the template is all skewed to the right! :shocking:
http://www.my-bookcafe.com/shop/index.php

Could my editing of the keywords and descriptions have caused this?
The page still looks fine in IE, Firefox and Opera.

This is quite awful and is worrying me no end. :(
I doubt it was the editting of of any Meta tags but I do see two problems.

<div id="mainWrapper"> <!-- AddToBookmarks.com CSS - Place this in the head of your page --> <style type="text/css"> @import "addto/addto.css"; </style> <!-- End AddToBookmarks.com CSS -->Remove all the code for "AddToBookmarks" and rename your stylesheet to:

stylesheet_addto.css

Any stylesheet starting with "stylesheet_" will automatically be loaded.

<td id="navColumnOne" class="columnLeft" style="width: 150px"> <div id="navColumnOneWrapper" style="width: 175px"><!--// bof: categories //-->You have your Column smaller than the Wrapper. Perhaps change the two around in your Admin?

In Admin > Configuration > Layout Controller

Column Width - Left Boxes << this should be 150px

Column Width - Left << this should be 175px

Do the same for the Right as well.

The learning is in the doing.

Potent Products

14 Nov 2009, 1:44 PM
#5
cafman avatar

cafman

New Zenner

Join Date:
Jul 2009
Location:
Melbourne, Australia
Posts:
80
Plugin Contributions:
0

Post #5 by cafman

I am using the latest version of Zen Cart and all has been going well. I have been checking the layout in Firefox, Opera and IE and it's been looking great.

Today I decided to take a look at my shop in Safari and got a shock. The template is all skewed to the right!

Then another forum user told me it's all skewed in Google Chrome too... :( :unsure: :huh: :dontgetit

http://www.my-bookcafe.com/shop/index.php

I have corrected my column widths, removed my 'addto bookmarks' module code in case that was causing the problem, (it wasn't) and now I have downloaded Firefox's HTML validator and Web Developer and I am trying to figure out how to use them.
Knowing my learning curve, that could take a while...

Any insights would be gratefully appreciated!

http://www.my-bookcafe.com
Note to self: whenever you so much as dot an i or cross a t in ZenCart, check how it looks in all browsers. Until then it is not safe to think all is well!!!!

14 Nov 2009, 1:52 PM
#6
cafman avatar

cafman

New Zenner

Join Date:
Jul 2009
Location:
Melbourne, Australia
Posts:
80
Plugin Contributions:
0

Post #6 by cafman

hedron, I have asked the question in the templates thread as you suggested.
I think you are right, it probably is not caused by the meta tags

dbltoe i have now downloaded the HTML validator and am working out how to use it. Thanks for the tip - this looks like a fantastic tool. The template thread forum users also suggested Firefox's web developer so I am going to try both. Thanks!

Website Rob,
I have corrected my column widths and completely removed my 'addto bookmarks' module code in case that was causing the problem, but it wasn't. Thanks for pointing out the column width problem, i had noticed that there was some kid of measurement inconsistency but had not realised where it was coming from.

So the problem is still there but I am really grateful for your taking a look at it. :cheers:

http://www.my-bookcafe.com
Note to self: whenever you so much as dot an i or cross a t in ZenCart, check how it looks in all browsers. Until then it is not safe to think all is well!!!!

14 Nov 2009, 2:12 PM
#7
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Post #7 by website_rob

What happened to the 175px & 150px settings? By making them the same you still have a problem. The navColumnOneWrapper needs to be about 20px wider than the leftBoxContainer. Change the same for the right.

The learning is in the doing.

Potent Products

14 Nov 2009, 2:58 PM
#8
cafman avatar

cafman

New Zenner

Join Date:
Jul 2009
Location:
Melbourne, Australia
Posts:
80
Plugin Contributions:
0

Post #8 by cafman

P.S. I don't know if this means anything, but my server's error log keeps saying -
File does not exist: /home/virtual/site199/fst/var/www/html/shop/zc138.ico

What is zc138.ico and why would it be missing? :wacko:

http://www.my-bookcafe.com
Note to self: whenever you so much as dot an i or cross a t in ZenCart, check how it looks in all browsers. Until then it is not safe to think all is well!!!!

15 Nov 2009, 3:34 AM
#9
cafman avatar

cafman

New Zenner

Join Date:
Jul 2009
Location:
Melbourne, Australia
Posts:
80
Plugin Contributions:
0

Post #9 by cafman

I am trying again... hang on...

Just ignore those attached screen shots.
I have made the columns 195 px wide because the boxes have to be 175 wide for the particular template I'm using.

http://www.my-bookcafe.com
Note to self: whenever you so much as dot an i or cross a t in ZenCart, check how it looks in all browsers. Until then it is not safe to think all is well!!!!

15 Nov 2009, 3:43 AM
#10
cafman avatar

cafman

New Zenner

Join Date:
Jul 2009
Location:
Melbourne, Australia
Posts:
80
Plugin Contributions:
0

Post #10 by cafman

Website Rob:

What happened to the 175px & 150px settings? By making them the same you still have a problem. The navColumnOneWrapper needs to be about 20px wider than the leftBoxContainer. Change the same for the right.

Thanks Rob, I have made the column widths 20px wider than the boxes.
Safari still doesn't like it though. :dontgetit

http://www.my-bookcafe.com
Note to self: whenever you so much as dot an i or cross a t in ZenCart, check how it looks in all browsers. Until then it is not safe to think all is well!!!!

15 Nov 2009, 4:00 AM
#11
cafman avatar

cafman

New Zenner

Join Date:
Jul 2009
Location:
Melbourne, Australia
Posts:
80
Plugin Contributions:
0

Post #11 by cafman

I tried turning off every single sidebox.
Safari still doesn't co-operate. :no:
Screen shot attached.

http://www.my-bookcafe.com
Note to self: whenever you so much as dot an i or cross a t in ZenCart, check how it looks in all browsers. Until then it is not safe to think all is well!!!!

16 Nov 2009, 8:20 AM
#12
cafman avatar

cafman

New Zenner

Join Date:
Jul 2009
Location:
Melbourne, Australia
Posts:
80
Plugin Contributions:
0

Post #12 by cafman

Another ZC conundrum SOLVED! :onfire::thumbsup::cheers::smartass::jump::smoke:

The problem was being caused by a temporary 'Christmas logo' I had put in the top left hand corner of my shop. The logo's extra-wide dimensions were messing with Safari and Google Chrome - though the other browsers seemed to handle them okay.

Now I'm back to the old logo - and Safari/GC are lovin' it! :smile:

THANKS Rob for your patience and understanding. The problem was my fault, but you've helped me fix another problem I didn't even know I had!!

http://www.my-bookcafe.com
Note to self: whenever you so much as dot an i or cross a t in ZenCart, check how it looks in all browsers. Until then it is not safe to think all is well!!!!

16 Nov 2009, 12:35 PM
#13
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Post #13 by website_rob

Nice bit of troubleshooting and good to hear things are sorted out.

The learning is in the doing.

Potent Products