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

Another issue with firefox..

Locked
This thread is locked. New replies are disabled.
19 Sep 2007, 10:17 PM
#1
exstatic avatar

exstatic

New Zenner

Join Date:
Sep 2007
Posts:
7
Plugin Contributions:
0

Post #1 by exstatic

Im trying to modify the red_passion template to suit my own style, however the layout in firefox is shifting everything to the side.. and I cant for the life of me work out why!

My site is here - http://giftbasketstore.co.uk/index.php

If someone could give me a hand that would be great!

Thanks
ex

19 Sep 2007, 10:50 PM
#2
chotaboy avatar

chotaboy

New Zenner

Join Date:
Sep 2007
Posts:
32
Plugin Contributions:
0

Post #2 by chotaboy

could you post your stylesheet.css page please..

ive run into many many ie/ff problems in the last few weeks and they are usually all css relates

so lets take a look

I need Sleep........And a BEER!

19 Sep 2007, 11:08 PM
#3
chotaboy avatar

chotaboy

New Zenner

Join Date:
Sep 2007
Posts:
32
Plugin Contributions:
0

Post #3 by chotaboy

:lamo:nevermind i found your .css file

so anyways im no expert but i do hope this helps you

this caught my attn first off

#logo, .specialsListBoxContents, .categoryListBoxContents, .centerBoxContentsAlsoPurch, .attribImg {
float: left;
}
#logo, .centerBoxContents {
float: left;
height: 161px;

2 calls for #logo so double float:left ... looks redundant and i dont know but might call for 2 pushes to left so i would delete the first #logo call ..

second of all it doesnt li=ook like your using it and if you dont intend to i would change the bottom #logo call to this

#logo, .centerBoxContents {
float: left;
height: 161px;
display: none;

as for the wrapper it is still set to HUGE so try this if the above doesnt sork
( try in addition to the first fix atempt ... change this

#logoWrapper {
background-color: transparent;
height:161px;
}

to this...

#logoWrapper {
background-color: transparent;
height:61px;
}
or this..

#logoWrapper {
background-color: transparent;
height:161px;
display:none;
}

please let me know if this works and keep record of your origional settings if this does not work so you can set it back and all take another look

:smile:

I need Sleep........And a BEER!

20 Sep 2007, 9:56 AM
#4
exstatic avatar

exstatic

New Zenner

Join Date:
Sep 2007
Posts:
7
Plugin Contributions:
0

Post #4 by exstatic

Hey thanks for that, I tried all of your fixes and still no luck..

Modifying the #logowrapper removed my header all together..

any other ideas?

20 Sep 2007, 1:33 PM
#5
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Post #5 by yellow1912

Above your table, add:

<div class="clearBoth"></div>

I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

20 Sep 2007, 2:54 PM
#6
exstatic avatar

exstatic

New Zenner

Join Date:
Sep 2007
Posts:
7
Plugin Contributions:
0

Post #6 by exstatic

Sorry.. not really sure where I would add that into?

20 Sep 2007, 2:57 PM
#7
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Post #7 by yellow1912

Right above:

<table width="100%" cellspacing="0" cellpadding="0" border="0" id="contentMainWrapper">

I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

20 Sep 2007, 3:26 PM
#8
exstatic avatar

exstatic

New Zenner

Join Date:
Sep 2007
Posts:
7
Plugin Contributions:
0

Post #8 by exstatic

sorry, I should have been a bit clearer, this is the first time ive worked with zencart, which template would I be editing to add that into?

cheers for your help.

20 Sep 2007, 3:28 PM
#9
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Post #9 by yellow1912

I don't really remember. Use Developer toolkit (if you don't know what it is, search around the forum), search for the key "contentMainWrapper" and you will know which file to edit.

I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

20 Sep 2007, 3:40 PM
#10
exstatic avatar

exstatic

New Zenner

Join Date:
Sep 2007
Posts:
7
Plugin Contributions:
0

Post #10 by exstatic

Thanks, you are a life saver. Thats great, never knew about the developers toolkit, it would have saved me a load of time if I had have.

Anyway I have made the change you suggested and have brought everything into line horizontally, however now the navigation menu seems a little mis-aligned in FF as opposed to IE.. any suggestions on how I can resolve that?

thx
ex

20 Sep 2007, 5:13 PM
#11
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Post #11 by gjh42

You have specifications in #navMainWrapper that may be conflicting, and interpreted differently by different browsers.

#navMainWrapper {
	margin-left: 0px;
	margin-bottom: 0px;
	height: 20px;
	background-color: #989da3;
	font-weight: bold;
	color: #ffffff;
	padding: 2px;
	background-image: url(../images/nav_cat_bg_sm.jpg);
	background-repeat: no-repeat;
	}
```height: 20px; sets the total height of the navbar, and padding: 2px; sets the space between the text and the edges of the navbar. If text total height + (2 x padding) is more or less than 20px, the browser has to decide which rule to follow. Apparently IE follows the wrapper height above all and bends the other rules to fit, while FF applies what rules it can and lets the box which holds the background be smaller than its contents.

Removing the height: 20px; restriction from #navMainWrapper allowed it to expand to 43px high, which is how much space all the contents are specified to occupy. Removing the padding: 2px; will obviously reduce the height.

Removing line-height: 1.5em; here brought it down to 39px:

#navMain ul, #navSupp ul, #navCatTabs ul {
margin-left: 14px;
padding: 0em 0em;
list-style-type: none;
text-align: center;
line-height: 1.5em;
}

21 Sep 2007, 11:15 AM
#12
exstatic avatar

exstatic

New Zenner

Join Date:
Sep 2007
Posts:
7
Plugin Contributions:
0

Post #12 by exstatic

Thats great thanks.. very well explained.

I have been able to fix those alignment issues, now I just have an issue with aligning the actual text links in the navigation, on FF it aligns to the bottom, and in IE it aligns to the top.. how can I make it align to the middle?

Thanks for all your help.

ex

21 Sep 2007, 6:55 PM
#13
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Post #13 by gjh42

I'm not actually sure. I've never seen this particular problem before, and when I looked at it yesterday I didn't see anything that should cause it. Sorry I can't be more specific.

23 Sep 2007, 4:25 PM
#14
exstatic avatar

exstatic

New Zenner

Join Date:
Sep 2007
Posts:
7
Plugin Contributions:
0

Post #14 by exstatic

Anyone else have any help?