Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14
  1. #11
    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 Ryk View Post
    A variety of methods here - be warned, this is a very addictive site and will give you all sorts of ideas!
    Already an addict!!

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

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

    ok firstly sorry for the bump - unfortunately I have realised that I have to get this straight...

    To recap - what I wish to do is put rounded corners on the 'what's new' section of the home page - that is in the center column - not sidebox.

    the page is http://www.african-masks-art-and-gif...shop/index.php

    I have put my 'rounded corners' code (found at http://www.redmelon.net/tstme/4corners/) around

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


    require($body_code); ?>

    in tpl_main_page.php, but this puts rounded corners around the entire middle section. How do I put rounded corners around 'What's new for June' section or 'featured products', etc.?

    Thanks.

    P.S. If you are viewing this in ie6 - my apologies! (I have been working on a pc with Vista and therefore no immediate access to ie6 - I will get around to it... *^^&#37;%!$* ie6!)

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

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

    Just in case anyone is looking for how to do this...

    It is actually very simple.

    If you wish, as I do, to put rounded corners around the 'What's New for (say) August' then...

    in YOUR_TEMPLATE find 'tpl_modules_whats_new.php' in the templates folder and put the appropriate code around...

    Code:
    <div class="centerBoxWrapper" id="whatsNew">
    <?php
      require($template->get_template_dir('tpl_columnar_display.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_columnar_display.php');
    ?>
    </div>
    for example

    Code:
    <div id="border">
    
    <div id="borderbot">
    
    <div class="centerBoxWrapper" id="whatsNew">
    <?php
      require($template->get_template_dir('tpl_columnar_display.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_columnar_display.php');
    ?>
    </div>
    
    </div>
    
    </div>
    obviously this can be applied to the other pages/divs.

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

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

    What a surprise... probs with ie (inc. ie7)

    not sure if it is the way I am doing it but if you experience the same you can always comment away ie with...

    Code:
    <![if !IE]>
    code...
    <![endif]>
    e.g.

    Code:
    <![if !IE]>
    
    <div id="border">
    
    <div id="borderbot">
    
    <![endif]>
    
    <div class="centerBoxWrapper" id="featuredProducts">
    <?php
    /**
     * require the list_box_content template to display the product
     */
      require($template->get_template_dir('tpl_columnar_display.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_columnar_display.php');
    ?>
    </div>
    
    <![if !IE]>
    
    </div>
    
    </div>
    
    <![endif]>

 

 
Page 2 of 2 FirstFirst 12

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