Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Contact Us - How do I add some vertical spacing?

Contact Us - How do I add some vertical spacing?

Locked

Views: 906

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
16 May 2008, 1:35 AM
#1
chabates avatar

chabates

New Zenner

Join Date:
Apr 2008
Location:
Ontario
Posts:
76
Plugin Contributions:
0

Contact Us - How do I add some vertical spacing?

My website's contact us page looks like this:

Home :: Contact Us
240 South Service Road
Stoney Creek, Ontario
L8E 2N9

I want to change this so that first of all there is space inbetween the top navigation and the address and also I want to include the store name.

I tried this: define('HEADING_TITLE', 'Contact Us<br><br>');

this solves my spacing problem but it also puts "Contact Us<br><br>" in the top of the browser.

any help is appreciated.

16 May 2008, 11:22 AM
#2
stevesh avatar

stevesh

Black Belt

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

Re: Contact Us - How do I add some vertical spacing?

You'll need to insert your <br>'s in includes/templates/template_default/templates/tpl_contact_us_default.php, probably right after where it echos HEADING_TITLE.

Don't forget to move the edited file to your override folder.

16 May 2008, 4:16 PM
#3
chabates avatar

chabates

New Zenner

Join Date:
Apr 2008
Location:
Ontario
Posts:
76
Plugin Contributions:
0

Re: Contact Us - How do I add some vertical spacing?

Hey thanks for the help.

What i ended up doing was removing this line of code from includes/templates/template_default/templates/tpl_contact_us_default.php

<?php if (CONTACT_US_STORE_NAME_ADDRESS== '1') { ?> <address><?php echo nl2br(STORE_NAME_ADDRESS); ?></address> <?php } ?>

Address info is taken off the page and then i just put it back on by putting it into my define_contact_us.php in the define page editor.