Results 1 to 4 of 4

Hybrid View

  1. #1
    Join Date
    Jun 2007
    Posts
    64
    Plugin Contributions
    0

    Default 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.
    Code:
    ----------------------------------------
    |                   Nav Bar                 |
    ----------------------------------------
    |                                               | 
    |                 Header Image          |
    |                                               | 
    ---------------------------------------- 
    |               New Div                    |
    |                                               |
    ----------------------------------------
    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.

  2. #2
    Join Date
    Jun 2003
    Posts
    33,720
    Plugin Contributions
    0

    Default 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.

  3. #3
    Join Date
    Jun 2007
    Posts
    64
    Plugin Contributions
    0

    Default 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.

  4. #4
    Join Date
    Aug 2006
    Location
    portlandish, oregon
    Posts
    799
    Plugin Contributions
    0

    Default 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!

 

 

Similar Threads

  1. Which file lays out the order of the Divs?
    By still_learning in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 24 Feb 2010, 11:53 AM
  2. What template to add additional divs outside of mainWrapper??
    By rubelin in forum Templates, Stylesheets, Page Layout
    Replies: 20
    Last Post: 18 Mar 2009, 12:20 AM
  3. Why can't I see the add-on templates?
    By gobrinton in forum General Questions
    Replies: 1
    Last Post: 4 Jan 2009, 02:14 PM
  4. Templates. How to add
    By cragdire in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 14 Apr 2008, 06:34 PM
  5. Templates. How to add
    By cragdire in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 14 Apr 2008, 06:31 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg