Thread: designing boxes

Results 1 to 7 of 7

Hybrid View

  1. #1
    Join Date
    Feb 2007
    Posts
    130
    Plugin Contributions
    0

    Default Re: designing boxes

    hi all,

    i have not bought the template and do not intend to, we are wanting to create some similar bits of the template. osc2.template-help.com:8081/14300/index.php

    We are looking to create the box with the products inside it, similar to the one in the link and round corner boxes on the actual left hand side for categories etc. Also we are looking to add buttons under or at the side of our logo.
    Last edited by Kim; 2 Jan 2008 at 07:05 PM.

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: designing boxes

    The short answer to that is that you will want one or more wrapper divs just inside or outside the box in question, each with a part of the box as a background. It used to be done with tables, but divs can accomplish the task much easier and with smaller, neater code.

    Google for "sliding door method" for the standard description of exactly how to do this.

  3. #3
    Join Date
    Feb 2007
    Posts
    130
    Plugin Contributions
    0

    Default Re: designing boxes

    Thanks, thats great, its the thing i was after, but never knew what it was called.

    The last thing we need to know is, under the logo we want to add store buttons, once we have designed the buttons where do we place them, and can these be done in html?

  4. #4
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: designing boxes

    Yes, you can create the buttons with HTML, though there are Zen Cart functions and PHP constants that will make the buttons more bulletproof (so they will still work when you transfer the site between a development server and a live server, for example).

    Button code for the header area would go in (surprise!) /includes/templates/your_template/common/tpl_header.php. You can look at the "navigation display" block for examples of how to work in links effectively.

 

 

Similar Threads

  1. designing a Header ?
    By Kieranbolton in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 9 Mar 2012, 02:31 AM
  2. Designing EZpages
    By Joseph M in forum General Questions
    Replies: 3
    Last Post: 22 May 2008, 07:27 PM

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