Forums / Templates, Stylesheets, Page Layout / Removing congratualtion message in index.php changed page orientation and look

Removing congratualtion message in index.php changed page orientation and look

Locked

Views: 659

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
30 Aug 2010, 8:12 AM
#1
mark_wedley avatar

mark_wedley

New Zenner

Join Date:
Aug 2010
Posts:
5
Plugin Contributions:
0

Removing congratualtion message in index.php changed page orientation and look

My first time using Zencart and it was going very well until i removed the "Congratulations you have succesfully installed Zencart!" message.

When i tried to change the message to welcome to our online shop the website has reorientated itslef to justify left in the browser window and all the fonts have grown leaving the site looking terrible.

I am not sure how to fix this, setting the index.php file back to the original did not help.

Any ideas?

Mark.

30 Aug 2010, 9:50 AM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Removing congratualtion message in index.php changed page orientation and look

Difficult to say for sure without a link to the site, but it sounds like you have some characters in the wrong place, probably in the index.php file, that are preventing your stylesheets from loading.

I don't know why replacing that file with the original didn't fix things, but if you'll share the URL, we can take a look.

30 Aug 2010, 9:52 AM
#3
mark_wedley avatar

mark_wedley

New Zenner

Join Date:
Aug 2010
Posts:
5
Plugin Contributions:
0

Re: Removing congratualtion message in index.php changed page orientation and look

Of course the link is on my test site at the moment nothing is live but you can view it at: -

http://inspireditsolutions.uggle.co.uk/shop

30 Aug 2010, 9:56 AM
#4
mark_wedley avatar

mark_wedley

New Zenner

Join Date:
Aug 2010
Posts:
5
Plugin Contributions:
0

Re: Removing congratualtion message in index.php changed page orientation and look

It only seems to affect the home page, it reverts to normal view once you select another page

30 Aug 2010, 10:26 AM
#5
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Removing congratualtion message in index.php changed page orientation and look

There are some garbage characters at the beginning of the file, probably in index.php. You can see them in the upper left corner of the page, at least in Firefox.

If you edited that file with something like Dreamweaver, that can happen. Try replacing that file with a fresh copy from the Zencart zip file, and only use a text editor to edit PHP files.

30 Aug 2010, 11:00 AM
#6
mark_wedley avatar

mark_wedley

New Zenner

Join Date:
Aug 2010
Posts:
5
Plugin Contributions:
0

Re: Removing congratualtion message in index.php changed page orientation and look

Thanks I will do that,

To edit the file i only used the server side text editor.

30 Aug 2010, 11:06 AM
#7
mark_wedley avatar

mark_wedley

New Zenner

Join Date:
Aug 2010
Posts:
5
Plugin Contributions:
0

Re: Removing congratualtion message in index.php changed page orientation and look

Thank you for your help the problem is fixed.

It was the server side editor adding the junk code, i used a different editor then uploaded the file to the site, all sorted now.

Thanks again

Mark