Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. #1
    Join Date
    Dec 2006
    Posts
    35
    Plugin Contributions
    0

    Default Website from scratch

    Hi, is it possible to make a site like this using zen cart?

    http://www.phweb.biz/proofs/jewelrybyvictoria/template

    As you can see, my borders on the left and right have shadings and they are images background. Is it possible to add some <div> to it? Another question is that how do I align the site to the middle, I just started studying the cart software.. here is the link:

    http://www.wordfortheworldlp.org/zencart

    Thank you and hope to get replies from you guys.

  2. #2
    Join Date
    Dec 2006
    Posts
    35
    Plugin Contributions
    0

    Default Re: Website from scratch

    Forget about the center alignment, I have already aligned the site, I just want to know if it's possible to make image borders around the left and right side borders like this one :
    http://www.wordfortheworldlp.org/zencart to be like
    http://www.phweb.biz/proofs/jewelrybyvictoria/template

    Thank you!

  3. #3
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default Re: Website from scratch

    Yes, look at www.zen-cart.com :)
    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.

  4. #4
    Join Date
    Dec 2006
    Posts
    35
    Plugin Contributions
    0

    Default Re: Website from scratch

    Yeah www.zen-cart.com has image border shadows but it's layout is set to table. Anyone know how to do it in CSS zen cart?

  5. #5
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default Re: Website from scratch

    Fixed width or fluid?
    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.

  6. #6
    Join Date
    Dec 2006
    Posts
    35
    Plugin Contributions
    0

    Default Re: Website from scratch

    Yes fixed width, I made the image border shadows in tables, I just don't know how to apply it in CSS and zen cart.

  7. #7
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Website from scratch

    Take a look at my Test Site to see an implementation of what I believe you are trying to achieve.

    This uses NO tables and is styled entirely with CSS.

    requires adding an additional "wrapper" div.

  8. #8
    Join Date
    Dec 2006
    Posts
    35
    Plugin Contributions
    0

    Default Re: Website from scratch

    I got your idea, so I will make another wrapper div for the shadow. I think I need to study more about using CSS without tables for websites. Thank you!

  9. #9
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Website from scratch

    You said you already had your shadow image.

    in your stylesheet create a new declaration:

    Code:
    #shadow {
    margin: 0 70px; /* this is based on a page width of 850px so you'll have to adjust the 70px to fit your site */
    background: url(../images/your_image.???);
    }
    Save the file and upload to your server.

    Now in includes/templates/template_default/common/tpl_main_page.php

    Find:

    Code:
    <div id="mainWrapper">
    add the following:
    Code:
    <div id="shadow">
    just above so you'll now have the following:

    Code:
    <div id="shadow">
    
    <div id="mainWrapper">
    Now find:
    Code:
    require($template->get_template_dir('tpl_footer.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_footer.php');?>
    </div>
    <!--bof- parse time display -->
    Add the closing </div> just above <!--bof- parse time display --> so you'll now have the following:
    Code:
    require($template->get_template_dir('tpl_footer.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_footer.php');?>
    </div>
    </div>
    <!--bof- parse time display -->
    Save the edited file to:
    includes/templates/YOUR_TEMPLATE/common/tpl_main_page.php and upload to your server.

  10. #10
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Website from scratch

    NB: to my above post - The instructions assume using only one image for the shadow.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 8
    Last Post: 30 Jan 2015, 03:15 PM
  2. ecommerce website from scratch
    By mehram in forum Installing on a Windows Server
    Replies: 5
    Last Post: 24 Feb 2012, 04:29 PM
  3. From Scratch
    By dracofaerie2 in forum General Questions
    Replies: 9
    Last Post: 24 Sep 2009, 07:19 PM
  4. from scratch
    By mrotb in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 13 Mar 2008, 11:05 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR