New Zenner
- Join Date:
- Jan 2006
- Posts:
- 6
- Plugin Contributions:
- 0
Gap in Swedish cart, but not in English
Hi,
I'm just about done with an upgrade of my shop, and have most of the code-wrinkles sorted out. So now it's on to the look of the site.
In the Swedish translation of the site there's a small white gap between the header image and the "search bar" but in the English it looks like it's supposed to (see attached file).
I've looked at the source for both versions, and as far as I can tell it's a matter of the "taglineWrapper" div showing up at the Swedish site surrounding a nearly empty "tagline" div like this:
<div id="logoWrapper">
<div id="logo">
<a href="[SITE]">
<img src="[LOGO]" alt="[ALT]" title="[TITLE]" width="192" height="64" />
</a>
</div>
<div id="taglineWrapper">
<div id="tagline"><h1></h1></div>
</div>
</div>
The English version doesn't contain the superfluous "taglineWrapper" and "tagline" divs, ie. it looks like this:
<div id="logoWrapper">
<div id="logo">
<a href="[SITE]">
<img src="[LOGO]" alt="[ALT]" title="[TITLE]" width="192" height="64" />
</a>
</div>
</div>
I've checked both Swedish and English header.php files and the lines there are identical:
[code]
define('HEADER_SALES_TEXT', '');
[code]
So why oh why does the Swedish site insist on displaying the (nearly) empty divs?
Thanks
Laage