Forums / Templates, Stylesheets, Page Layout / How do I add divs to the templates?

How do I add divs to the templates?

Locked

Views: 1,198

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
7 Sep 2007, 7:35 PM
#1
themusician avatar

themusician

New Zenner

Join Date:
Jun 2007
Posts:
64
Plugin Contributions:
0

How do I add divs to the templates?

Hello,

ZenCart 1.3.7, MySQL 5.2.1

I am trying to determine the best way to add a new div underneath my logo. The page currently has the top navbar, the logo, and then content. I want it to look like this.

----------------------------------------
|                   Nav Bar                 |
----------------------------------------
|                                               | 
|                 Header Image          |
|                                               | 
---------------------------------------- 
|               [B]New Div[/B]                    |
|                                               |
----------------------------------------

Which file do I modify? I am more than comfortable with PHP, HTML, and CSS, I just need to know which file contains the code. Please let me know if I my description is unclear.

Thank you.

7 Sep 2007, 9:20 PM
#2
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,684
Plugin Contributions:
0

Re: How do I add divs to the templates?

Try the tpl_header.php - be sure you are using the custom override.

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

11 Sep 2007, 6:41 PM
#3
themusician avatar

themusician

New Zenner

Join Date:
Jun 2007
Posts:
64
Plugin Contributions:
0

Re: How do I add divs to the templates?

Thank you very much. I got side tracked on another project. The tpl_header was correct.

1 Nov 2007, 9:35 PM
#4
khopek avatar

khopek

Totally Zenned

Join Date:
Aug 2006
Location:
portlandish, oregon
Posts:
795
Plugin Contributions:
0

Re: How do I add divs to the templates?

Maybe I'm doing something wrong because my image isn't showing up....

EDIT: NM...It helps to put the ; in the CSS....DUH!