Results 1 to 10 of 14

Hybrid View

  1. #1
    Join Date
    Nov 2003
    Location
    UK
    Posts
    105
    Plugin Contributions
    0

    Default Rounded Corners on What's New for June, etc.

    Hi

    Is it possible to implement rounded corners only on the What's New <div> on the home page?

    I use the method on the following link

    http://www.redmelon.net/tstme/4corners/

    and it is easy enough to implement within a <div> containing only my own text isolated from Zen Cart's features (hope that makes sense)

    but if I want to apply it to the afore mentioned What's New for June/July/etc. feature I'm not sure where to begin.

    Any pointers would be really appreciated.

    Thanks,

    jim.

  2. #2
    Join Date
    Jun 2005
    Location
    Cheney WA
    Posts
    1,134
    Plugin Contributions
    0

    Default Re: Rounded Corners on What's New for June, etc.

    I want to try this too.

    In the stylesheet.css file you have to find the class you want to change, then just add the following under that class.

    "rbroundbox"
    "rbtop"
    "rbcontent"
    "rbbottom"

    I want to do this for all the boxes. But haven't taken the time to do it yet.

    JP

  3. #3
    Join Date
    Jun 2005
    Location
    Cheney WA
    Posts
    1,134
    Plugin Contributions
    0

    Default Re: Rounded Corners on What's New for June, etc.

    I just had a thought,

    The way our stylesheet is laid out your changes will affect all of the boxes since I don't think any of the boxes have their own settings.

    You may need to create a div just for the "What's new for June" box.

    JP

  4. #4
    Join Date
    Nov 2003
    Location
    UK
    Posts
    105
    Plugin Contributions
    0

    Default Re: Rounded Corners on What's New for June, etc.

    Quote Originally Posted by birdoasis View Post

    The way our stylesheet is laid out your changes will affect all of the boxes since I don't think any of the boxes have their own settings.

    You may need to create a div just for the "What's new for June" box.

    JP
    Thanks for the reply, I was thinking that might be the case. However my problem at the moment is which Zen Cart files to put the <div> tags in.

  5. #5
    Join Date
    Nov 2003
    Location
    UK
    Posts
    105
    Plugin Contributions
    0

    Default Re: Rounded Corners on What's New for June, etc.

    ok

    In tpl_main_page.php the rounded corner divs go around

    <?php
    /**
    * prepares and displays center column
    *
    */


    require($body_code); ?>

    Not perfect but with a little fine tuning...

  6. #6
    Join Date
    Nov 2003
    Location
    UK
    Posts
    105
    Plugin Contributions
    0

    Default Re: Rounded Corners on What's New for June, etc.

    actually on reflection that is not it at all as it surrounds the entire centre column....

    back to the drawing board.

 

 

Similar Threads

  1. Border-radius.htc for rounded corners in ie?
    By mike_uk100 in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 23 May 2011, 07:57 PM
  2. Rounded corners
    By commdiver in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 6 Jan 2011, 12:45 AM
  3. rounded corners
    By wotnow in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 21 Jul 2010, 07:20 PM
  4. rounded corners alignment issues for sidebox
    By abs007 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 28 Jan 2010, 09:21 PM
  5. rounded corners for bottom center column ?
    By gorie in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 23 Jan 2008, 08:44 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