Forums / Templates, Stylesheets, Page Layout / Unknown Format Change

Unknown Format Change

Locked

Views: 2,258

Results 1 to 15 of 15
This thread is locked. New replies are disabled.
30 May 2008, 11:15 PM
#1
handkem avatar

handkem

Zen Follower

Join Date:
Oct 2006
Posts:
152
Plugin Contributions:
0

Unknown Format Change

I'm not sure how it happened, but all of a sudden I have large spaces on my home page (and other pages) between Welcome to Desert Sky Ink and the Welcome Guest message. I'm sure it is a change within the style sheet, but I don't know where the change would be, as I have made so many and it's starting to get kind of confusing. Any help would be greatly appreciated.

My website is www.desertskyink.net

30 May 2008, 11:35 PM
#2
fatguyinaz avatar

fatguyinaz

Zen Follower

Join Date:
Oct 2007
Location:
Safford, AZ
Posts:
313
Plugin Contributions:
0

Re: Unknown Format Change

On your stylesheet you have this:

h1, h2, h3, h4, h5, h6 {
    margin: 3.5em;
    }

which puts a 3.5em margin on all sides of the heading tags. That is what is causing the large spaces. Reduce that to something like .5em and I think you will be much happier. If the .5em isn't enough, just try different amounts until you get what you want.

Steve
Zen cart version: 1.3.9h

6 Jun 2008, 10:56 PM
#3
handkem avatar

handkem

Zen Follower

Join Date:
Oct 2006
Posts:
152
Plugin Contributions:
0

Re: Unknown Format Change

Steve, thx for the help, that worked great.

Matt

5 Aug 2009, 10:07 PM
#4
handkem avatar

handkem

Zen Follower

Join Date:
Oct 2006
Posts:
152
Plugin Contributions:
0

Re: Unknown Format Change

I am having a problem with a huge space at the top of my website which is www.sunbling.com on the Main Page before it says Welcome To Sunbling. Any suggestions? I'm sure it's a stylesheet issue but I'm not sure what to change. Thx.

6 Aug 2009, 6:59 AM
#5
stiggy100 avatar

stiggy100

Zen Follower

Join Date:
Jan 2009
Posts:
298
Plugin Contributions:
0

Re: Unknown Format Change

Hi,

Are you sure its not a load of paragraph tags in your html in your

admin>tools>define pages>main page ?

I just looked at it with firebug element inspector and it seemed to be paragraph tags and your stylesheet looked normal? But I may well be very wrong...

Steve

Steve
Site Under Construction: adatglobal.com

6 Aug 2009, 11:33 AM
#6
stevesh avatar

stevesh

Black Belt

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

Re: Unknown Format Change

That space is a bunch of stuff added by Microsoft Word.

It's not a good idea to copy and paste from Word or any other word processor into Zencart. Instead, paste the copy into the page from a text editor and do your styling in the Define Pages Editor or manually.

6 Aug 2009, 4:29 PM
#7
handkem avatar

handkem

Zen Follower

Join Date:
Oct 2006
Posts:
152
Plugin Contributions:
0

Re: Unknown Format Change

Everything was created within the built in HTML text editor in Zen-Cart. I removed the logo and the text at the top and just left the tables (which were also created in Zen-Cart text editor) and still there are large spaces at the top...any ideas?

6 Aug 2009, 4:36 PM
#8
stevesh avatar

stevesh

Black Belt

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

Re: Unknown Format Change

Well, OK, but if you view the source of that page, on line 134 you'll find a whole bunch of stuff that includes references to 'class="MsoNormal". That only results, so far as I know, from converting a Word document to a web page.

6 Aug 2009, 5:22 PM
#9
handkem avatar

handkem

Zen Follower

Join Date:
Oct 2006
Posts:
152
Plugin Contributions:
0

Re: Unknown Format Change

A picture or something might have been copied from Word but the tables that are on the main page now created in the Zen Cart editor. So do I need to delete all these tables and everything else and recreate everything to get this to work? My other website, www.desertskyink.com works just fine?

6 Aug 2009, 6:37 PM
#10
stevesh avatar

stevesh

Black Belt

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

Re: Unknown Format Change

You have some junk in the same place in your other site, too. It just isn''t causing the gap. Please view the source of both pages to see what I mean.

Edit: It looks like at least one of your sites has been hacked :

http://www.zen-cart.com/forum/showthread.php?t=133085

6 Aug 2009, 8:56 PM
#11
handkem avatar

handkem

Zen Follower

Join Date:
Oct 2006
Posts:
152
Plugin Contributions:
0

Re: Unknown Format Change

Not sure what you mean by "junk". I need to know where to clean this up? I guess I'll just load a different template then?? The editor within Zen Cart is what caused this. I did get hacked and couldn't log into my admin sections, but I deleted the file causing the issue.

6 Aug 2009, 10:27 PM
#12
stevesh avatar

stevesh

Black Belt

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

Re: Unknown Format Change

Did you read the thread I referenced?

Have you checked the source of your main page(s)? (In your browser - View Source or View- Page Source.)

6 Aug 2009, 11:15 PM
#13
handkem avatar

handkem

Zen Follower

Join Date:
Oct 2006
Posts:
152
Plugin Contributions:
0

Re: Unknown Format Change

I did check the source code, but I'm not sure what/where to clean things up? I looked for the bogus PHP references and couldn't find any. I put the Debug Error Logging Utility and didn't see any error generated log files. I'm not quite sure what to do now or where to fix these errors. I'm looking at the source code for sunbling.com right now and don't see the jibberish you are talking about. Are you saying the problem lies in corrupted PHP files or is the problem that I used Word to edit files (which I didn't)?

6 Aug 2009, 11:40 PM
#14
handkem avatar

handkem

Zen Follower

Join Date:
Oct 2006
Posts:
152
Plugin Contributions:
0

Re: Unknown Format Change

Also I removed all of the MsoNormal references in the define_main_page.php file and I'm still getting the same problems on the Main Page