Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Contact Page H1 Header

Contact Page H1 Header

Views: 803

Results 1 to 9 of 9
15 Oct 2011, 5:11 AM
#1
hell_guapo avatar

hell_guapo

Zen Follower

Join Date:
Jul 2011
Posts:
106
Plugin Contributions:
0

Contact Page H1 Header

1.3.9h

Every default 'Information' page has a H1 Header with the page's function such as 'Shipping & Returns' and 'Privacy Policy', EXCEPT the "Contact Us" page.

So... I added an H1 header with the text 'Contact Us!' in the Define Pages Editor.

Now... The header appears, but the problem is it has an unwanted space above that makes it lower on the page than every other page's H1 Header.

See here: http://losteras.com/store/index.php?main_page=contact_us

First question: Why does the Contact Us page not have a default header?

More importantly, what is causing the space above the header and how can I get rid of it?? :lamo:

15 Oct 2011, 7:13 AM
#2
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,779
Plugin Contributions:
11

Re: Contact Page H1 Header

The contact us page is a generated form versus just a div with an h1 tag in it. Adding the h1 puts it inside a div, inside a form,

You can either create a whole bunch of new IDs and classes to work around the spacing for this page OR just change Store Owner to something like Professional Costume Inquiries. Trying to add too much ends up with things like Costumes and General Inqueries.

15 Oct 2011, 7:46 AM
#3
hell_guapo avatar

hell_guapo

Zen Follower

Join Date:
Jul 2011
Posts:
106
Plugin Contributions:
0

Re: Contact Page H1 Header

dbltoe:

The contact us page is a generated form versus just a div with an h1 tag in it. Adding the h1 puts it inside a div, inside a form,

This I saw. Can you direct me to the form code?

Why would the makers of ZC not put the H1 header there and the form under it in the first place? :frusty:

dbltoe:

You can either create a whole bunch of new IDs and classes to work around the spacing for this page OR just change Store Owner to something like Professional Costume Inquiries. Trying to add too much ends up with things like Costumes and General Inqueries.
Are you saying the text in the dropdown list is effecting the space above, or just pointing out a peeve? :P

15 Oct 2011, 3:51 PM
#4
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,779
Plugin Contributions:
11

Re: Contact Page H1 Header

I'm saying that the customer

  1. Didn't search for contact us, but rather clicked on it.
  2. They therefore know they are going to wind up at the Contact Us page.
  3. Having extra notifications that they are on the Contact Us page are the epitome of redundancy
  4. No one will read any extra verbiage on the page unless it's a phone number or location.
  5. Will probably only look at the drop downs - hence the suggested change from Store Owner.If you are trying to get the h1 in for SEO, you should not be indexing that page anyway.
15 Oct 2011, 4:54 PM
#5
hell_guapo avatar

hell_guapo

Zen Follower

Join Date:
Jul 2011
Posts:
106
Plugin Contributions:
0

Re: Contact Page H1 Header

dbltoe:

I'm saying that the customer

  1. Didn't search for contact us, but rather clicked on it.
  1. They therefore know they are going to wind up at the Contact Us page.
  1. Having extra notifications that they are on the Contact Us page are the epitome of redundancy
  1. No one will read any extra verbiage on the page unless it's a phone number or location.
  1. Will probably only look at the drop downs - hence the suggested change from Store Owner.

If you are trying to get the h1 in for SEO, you should not be indexing that page anyway.

Ahh I understand. The General Inqueries is for employees who have access to that email box who can answer questions without bothering the store owner. The Contact Owner is strictly for contact from Theaters/Productions which the owner wants to handle directly. :yes:

No my quest for a header is not for SEO. Just MY peeve that the page doesn't have a header in the first place :P

15 Oct 2011, 5:44 PM
#6
rescoccc avatar

rescoccc

Totally Zenned

Join Date:
May 2010
Location:
WA State
Posts:
1,700
Plugin Contributions:
2

Re: Contact Page H1 Header

It's easy enough to create a new contact us page using EZ-Pages.

16 Oct 2011, 5:45 PM
#7
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,779
Plugin Contributions:
11

Re: Contact Page H1 Header

IMHO - "Much Ado About Nothing"

There are SO MANY things higher up on the "gotta fix" list. And, a BUNCH on the "if it looked better" list.

Of course, the beauty of Zen Cart is that you are free to mess around with things like this while the competition sells product.:lamo:

16 Oct 2011, 6:13 PM
#8
stevesh avatar

stevesh

Black Belt

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

Re: Contact Page H1 Header

I remedy that difference by removing that header from the other define pages. Seems a waste of space to me.

16 Oct 2011, 11:32 PM
#9
rstevenson avatar

rstevenson

Totally Zenned

Join Date:
Nov 2006
Location:
Dartmouth, NS Canada
Posts:
2,400
Plugin Contributions:
0

Re: Contact Page H1 Header

It's easy if you want it. Go to admin/Tools/Define Pages Editor, select the contact_us.php file and edit it to include the H1 that you want. This puts it inside the DIV that has a class of "content", instead of just above that DIV, but that matters not, to me.

Rob