Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.

Size and Color Display Issues

Locked
This thread is locked. New replies are disabled.
12 Feb 2009, 8:47 PM
#1
need_help avatar

need_help

Zen Follower

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

Post #1 by need_help

Hi Everyone

I hope someone can help me with this issue.

Using the latest versions of Internet Explorer and Firefox.

The size display is showing up on a different part of the page in Internet Explorer and i wish it to show up below the image the way it does in Firefox.

Also the color options look terrible in both browsers because the color bar is not even with the colors. Its fine when there are two colors available and works but when there is one it just looks bad.

I am using the mostlygrey theme and i have tested with other themes and the display does look better but i wish to keep using this particular themeset.

Here is a link to my site as an example.

d a r k r e a l m f o x . com/catalog/index.php?main_page=product_info&cPath=1_6&products_id=7139

It's a major headache for me and i have tried searching these forums for an answer but cannot find one directly related to my issues. I need to stress i am not a programmer so need step by step help on this matter so i know exactly what file needs editing to fix this issue.

I notice a few other posts around here saying things look wrong in Internet Explorer so i imagine not every theme is tested using both browsers or something goes wrong when the latest browser edition is released.

Is there a fix for this please ?

12 Feb 2009, 9:15 PM
#2
need_help avatar

need_help

Zen Follower

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

Post #2 by need_help

I have discovered that clicking compatibility view fixes the issue so i can only imagine this is an Internet Explorer 8 issue with the site.

I doubt most people will click compatibility though.

12 Feb 2009, 9:28 PM
#3
dbltoe avatar

dbltoe

Totally Zenned

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

Post #3 by dbltoe

Sometimes fixing small problems can make the page "fall in line."

http://validator.w3.org/check

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

13 Feb 2009, 9:47 AM
#4
need_help avatar

need_help

Zen Follower

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

Post #4 by need_help

dbltoe:

Sometimes fixing small problems can make the page "fall in line."

http://validator.w3.org/check

I think you will find 99% of the sites on the web have a lot more errors than my site and those errors are very minor issues only and do not affect the layout design of the site and have absolutely nothing to do with the problem i am having.

Go check some major sites out and you will find most have hundreds of errors on them.

I will fix the ones on my site though.

13 Feb 2009, 10:14 AM
#5
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Post #5 by tony_sar

locate following code in your css

h2, h3, h4, h5, h6 {stylesheet.css (line 34)
color:#999999;
}

add following code after color

margin:0.1em;

h2, h3, h4, h5, h6 {
color:#999999;
margin:0.1em;
}

this should fix the alignment , however , do test by looking at your page , if there are some issue after adding margin , that you can break that code block into two , and only applying margin to H4 tag ..

13 Feb 2009, 5:05 PM
#6
dbltoe avatar

dbltoe

Totally Zenned

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

Post #6 by dbltoe

Perhaps I should have taken the time to be a little more wordy. I was not denigrating your site or your abilities. Many mods have code that is not quite the best way to do things.
When I used firebug to edit the errors on your site, I did see some differences in the areas you mentioned. Unfortunately, there's no firebug for IE so I could not verify that the corrections would work in IE.
These "minor problems" are the first thing I look for when the site looks a little off. Regardless of whether I was helping you or the other 99%, I would have fixed all those errors first.
Good luck with your problem and be sure to post the solution so that others may gain from the info.

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

13 Feb 2009, 8:24 PM
#7
need_help avatar

need_help

Zen Follower

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

Post #7 by need_help

tony_sar:

locate following code in your css

h2, h3, h4, h5, h6 {stylesheet.css (line 34)
color:#999999;
}

add following code after color

margin:0.1em;

h2, h3, h4, h5, h6 {
color:#999999;
margin:0.1em;
}

this should fix the alignment , however , do test by looking at your page , if there are some issue after adding margin , that you can break that code block into two , and only applying margin to H4 tag ..

Thank you. That worked and it now looks much better. The Color tab is now looking much better and not spaced apart anymore.

The sizes are still showing up in the wrong place but only in Internet Explorer 8 Beta and i'm not too worried about that as the placement isn't that destructive to the site and still works very well and gives it a slightly different look to Firefox which i don't mind. My main concern actually was just the color tab which you fixed for me.

13 Feb 2009, 8:25 PM
#8
need_help avatar

need_help

Zen Follower

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

Post #8 by need_help

dbltoe:

Perhaps I should have taken the time to be a little more wordy. I was not denigrating your site or your abilities. Many mods have code that is not quite the best way to do things.
When I used firebug to edit the errors on your site, I did see some differences in the areas you mentioned. Unfortunately, there's no firebug for IE so I could not verify that the corrections would work in IE.
These "minor problems" are the first thing I look for when the site looks a little off. Regardless of whether I was helping you or the other 99%, I would have fixed all those errors first.
Good luck with your problem and be sure to post the solution so that others may gain from the info.

It's ok i wasn't being offended i was replying quickly as i had to go out. I fixed the validation errors for the front page though.

Your help was still appreciated.

13 Feb 2009, 9:48 PM
#9
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Post #9 by tony_sar

you can set margin to 0 , this should align the color and size more with the option button .

5 Mar 2009, 8:00 PM
#10
need_help avatar

need_help

Zen Follower

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

Post #10 by need_help

I changed my theme to a new one and once again i am having a bit of difficulty with the size and color attributes not lining up.

I looked in the css file and don't know which one to add the margin 0.1em line to.

I am also having a small problem locating the file to edit for Important Links on the top right of my page so i can change the name to something else. I did look in the english.php file in languages but i cannot locate the file to change the name.

Also the zen lightbox x is not visible when you click a large image in Firefox and i am wondering how to change that so people can x the image after viewing it.

Can anyone help with these three minor issues ?

5 Mar 2009, 8:50 PM
#11
need_help avatar

need_help

Zen Follower

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

Post #11 by need_help

I managed to change the Important Links text.

For anyone who is interested you go to includes/languages/english/extra_definitions/ez_pages_definitions.php and just change the text for Important Links to whatever you want.

Just the attributes and lightbox problem with Firefox left to fix.

6 Mar 2009, 2:17 PM
#12
need_help avatar

need_help

Zen Follower

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

Post #12 by need_help

Just in case anyone else has this issue i have fixed the attributes problem now and it's all even.

I went to includes/templates/your template/css and opened the stylesheet.css file and edited the part which says

h1, h2, h3, h4, h5, h6 {
margin: -0.2em 0;
}

As you can see i made the margin -0.2em and that worked a treat as 0 wasn't working.

Just thought i would share this so others can fix the issue if they run across it.

Just that lightbox closing x issue in Firefox now.

6 Mar 2009, 3:10 PM
#13
rstevenson avatar

rstevenson

Totally Zenned

Join Date:
Nov 2006
Location:
Dartmouth, NS Canada
Posts:
2,400
Plugin Contributions:
0

Post #13 by rstevenson

FF 3.0.5 and Safari beta 4 in Mac OS X also don't get the closing X in the lightbox. But Safari at least shows the missing image icon in its place. That suggests there is something wrong with the image file location, the path to the image in the code, or some combination of these factors. Check your lightbox code and image file location.

Rob

Breakfast: the most important donut of the day.

6 Mar 2009, 4:00 PM
#14
need_help avatar

need_help

Zen Follower

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

Post #14 by need_help

I noticed my fix for the atrributes unfortunately had the knock on effect of changing the description of the item and in Firefox it was forced into the actual image instead of being next to the image.

I'm sure there is a fix for that but at the moment i don't know what so have amended to make the margin 0.0em and that's not ideal but i'll tinker with it.

Not sure what to look for in lightbox but will give it a go...Thks.

6 Mar 2009, 4:13 PM
#15
need_help avatar

need_help

Zen Follower

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

Post #15 by need_help

Ok well fixed that by separating h1 into it's own spot and h2, h3, h4, h5, h6 all on the same line with margin set at -0.2em now works and the image description isn't leaking into the image anymore.

Hope i didn't mess up anything by separating the h1 from the group.

6 Mar 2009, 4:19 PM
#16
need_help avatar

need_help

Zen Follower

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

Post #16 by need_help

Fixed the lightbox issues with the closing x too.

rstevenson set me on the right path by their suggestions.

I checked the images folder in my template and the lightbox images were in their own folder which i had uploaded called zen lightbox but they should be in the template images folder so i just uploaded them directly to the folder and hey presto everything works now.

6 Mar 2009, 4:26 PM
#17
need_help avatar

need_help

Zen Follower

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

Post #17 by need_help

I should add that Internet Explorer requires the Zen Lightbox folder with the images in your template images folder but Firefox requires them separated and put in individually to your images folder to work. ( at least with this theme i am using )

Must be different issues with each browser but upload Zen Lightbox folder with images into the image folder in your template theme that you are using and then upload all images separately to the same images folder and it will work with both browsers.