Results 1 to 4 of 4

Hybrid View

  1. #1
    Join Date
    Jul 2008
    Posts
    138
    Plugin Contributions
    0

    Default Rounded MainWrapper in stylesheet

    I have seen several shops where they appear to have customized their stylesheet so the mainwrapper is now rounded. Can anyone explain how that is done? I'm using the classic template. Here's an example so you can see what I mean:

    http://digitalchaos.net/store

    See how the header and footer both fit into the curved mainwrapper.

    I love how it's curved as it appears softer to me. Any help would be appreciated.

  2. #2
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: Rounded MainWrapper in stylesheet

    Digital Chaos is a perfect name for such a terrible site. It is very badly put together... but that's not the issue...

    Look at:

    http://digitalchaos.net/store/includ...ges/header.png

    and

    http://digitalchaos.net/store/includ...ges/footer.png

    That's how they do it.

    There are other techniques, but all they have done is create images with round corners.
    20 years a Zencart User

  3. #3
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: Rounded MainWrapper in stylesheet

    By the way... you should NOT be using "classic" to run your site...

    You should have a CUSTOM template.
    20 years a Zencart User

  4. #4
    Join Date
    May 2010
    Location
    WA State
    Posts
    1,678
    Plugin Contributions
    3

    Default Re: Rounded MainWrapper in stylesheet

    The header and footer are images with rounded corners. That said, it is possible to create a rounder border wrapper using the border-radius element in the style sheet. Here's a Zen Cart example I did as a mockup at my sandbox:

    http://www.oozix.com/store2

    I created a div id and this CSS entry:

    #MainPageText {
    border: 2px solid #000000;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
    -moz-box-shadow: 5px 5px 5px #888;
    -webkit-box-shadow: 5px 5px 5px #888;
    box-shadow: 5px 5px 5px #888;
    width: 705px;
    background: white;
    padding: 15px;
    position: relative;
    behavior: url(../store/includes/PIE.htc);
    }

 

 

Similar Threads

  1. v155 How to get logo in mainwrapper instead of under mainwrapper
    By aurelius in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 17 Aug 2016, 07:55 PM
  2. mainWrapper
    By Soniccc in forum General Questions
    Replies: 5
    Last Post: 14 Jan 2011, 06:23 PM
  3. Rounded Corner Border mainWrapper
    By ryanb4614 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 4 Jul 2009, 01:43 AM
  4. Shipping weight rounded down instead of rounded up. ZC gets wrong rates.
    By tj1 in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 27 Aug 2007, 02:50 AM
  5. MainWrapper
    By Haart in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 14 Aug 2006, 09:53 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