Jump to content

Mysterious space right after "center_column"


Recommended Posts

Hi,

 

I've spent several hours now trying to get rid of a mysterious space right after the <div id="center_column"> tag on the product page. See here: https://dl.dropbox.com/u/5798631/space.png

 

I have not made any changes to PHP files. It has nothing to do with the header.tpl file since it only gets added on the Product page. I've even tried to exclude the breadcrumb.tpl file and I've left the product.tpl file completely blank and the space was STILL there! :wacko:

 

Where else could this piece of empty space come from?

 

Hope you guys can help me to solve this mystery :rolleyes:

Link to comment
Share on other sites

Tried it and didn't help either.

 

I found out that what actually makes a little difference (but only in the HTML...the appearance on the page doesn't change) is, when I change the end of the header.tpl file like that:

https://dl.dropbox.c...5798631/dif.png

 

Where do those 2 files (header.tpl & product.tpl) get together?

 

like:

{include file="$tpl_dir./header.tpl"}

{include file="$tpl_dir./product.tpl"}

...

?

That's the only place where a space can get added I'm guessing.

Edited by walter6 (see edit history)
Link to comment
Share on other sites

No, but I have 2 sites using the same theme, on one I don't have this issue so now I've copied my product.tpl, header.tpl, error.tpl and breadcrumb.tpl from the other website, and guess what :lol: the space is still there!

 

So the problem must be somewhere else, apparently those files have nothing to do with it.

Link to comment
Share on other sites

  • 3 months later...

open product.tpl (may be breadcrumb.tpl) with notepad ++

 

encoding > encode with UTF-8 without BOM, after that convert to UTF-8 witout BOM

 

if need press "save"

 

put back and replace original one.

 

after that open your site main directory > tools > smarty > compile

 

delete all files except index.php

Edited by Jevgen (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...