Title: rounded corner help
Last modified: August 19, 2016

---

# rounded corner help

 *  Resolved [mliam](https://wordpress.org/support/users/mliam/)
 * (@mliam)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/rounded-corner-help/)
 * I’m trying to breakup this code so that i can add images of rounded corners but
   i’m not sure whats doing what since its a list class. I’ve found it very difficult
   to even affect the output because of this, much less break it up into sections
   for top and bottom corners. This is my left sidebar, you can see it at [http://www.sketchygrid.com](http://www.sketchygrid.com).
   
   thx.
 * > `<div id=”sidebar_left” class=”sideleft”>
    -  <?php if ( !function_exists(‘dynamic_sidebar’) || !dynamic_sidebar(2) ) :?
      >
    - <li class=”adsensebar”><div>
    - <h3>Author Info</h3>
    - <p>You can put anything here, such as author information or any other text.
      Even easier, add a text widget to Sidebar 2. That way you don’t need to touch
      this code.</p>
    - </div>
    - <li class=”adsensebar”>
       <div> <form method=”get” action=”<?php bloginfo(‘
      home’); ?>”> <input type=”text” name=”s” id=”s” size=”12″ /> <input type=”
      submit” value=”<?php _e(‘Search’); ?>” /> </form></div>
    - <li class=”adsensebar”>
       <div><h3>Categories</h3>
 *  - <?php wp_list_categories(‘title_li=’ ); ?>
 * </div>
 * <div><h3>Archives</h3>
    - <?php wp_get_archives(‘type=monthly’); ?>
 * </div>
 * <div class=”topcont2″><h3>Meta</h3>
    -  <?php wp_register(); ?>
 *  - <?php wp_loginout(); ?>
    - 
    - 
    - [“><?php _e(‘Valid <abbr title=”eXtensible HyperText Markup Language”>XHTML</abbr>’); ?>](http://validator.w3.org/check/referer)
    - [<abbr title=”XHTML Friends Network”>XFN</abbr>](http://gmpg.org/xfn/)
    - [“><abbr title=”WordPress”>WP</abbr>](http://wordpress.org/)
    - <?php wp_meta(); ?>
    - </div>
    -  <?php endif; ?>
    - </div>
       `

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Thread Starter [mliam](https://wordpress.org/support/users/mliam/)
 * (@mliam)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/rounded-corner-help/#post-1116651)
 * can anybody gimme a hand with this?
 *  [Matt Cohen](https://wordpress.org/support/users/mattyza/)
 * (@mattyza)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/rounded-corner-help/#post-1116657)
 * Hi mliam.
 * Let me try. 🙂
 * For your sidebar, try to separate each widget into separate “containers”. An 
   example structure would be something like this:
 *     ```
       <div class="widget">
       <h3>This is the widget title</h3>
       [PLACE WIDGET CONTENT HERE]
       </div><!--/.widget-->
       ```
   
 * This should aid you in adding the rounded corners (a DIV tag with a CSS class
   on for the top corners and one for the bottom corners would be a simple way to
   add the corners). An example could look like this:
 *     ```
       <div class="widget">
       <div class="widget_top"></div><!--/.widget_top-->
       <h3>This is the widget title</h3>
       [PLACE WIDGET CONTENT HERE]
       <div class="widget_bottom"></div><!--/.widget_bottom-->
       </div><!--/.widget-->
       ```
   
 * Replacing the “[PLACE WIDGET CONTENT HERE]” with the particular content for the
   sidebar item (eg: `<?php wp_meta(); ?>` will add the content to the widget.
 * I hope this helps, mliam. Please post further if I have misunderstood your query.
   🙂
 *  Thread Starter [mliam](https://wordpress.org/support/users/mliam/)
 * (@mliam)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/rounded-corner-help/#post-1116684)
 * thanks i’ll give it a shot
 *  Thread Starter [mliam](https://wordpress.org/support/users/mliam/)
 * (@mliam)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/rounded-corner-help/#post-1116695)
 * awesome thank you works great

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘rounded corner help’ is closed to new replies.

## Tags

 * [sidebar](https://wordpress.org/support/topic-tag/sidebar/)

 * 4 replies
 * 2 participants
 * Last reply from: [mliam](https://wordpress.org/support/users/mliam/)
 * Last activity: [16 years, 11 months ago](https://wordpress.org/support/topic/rounded-corner-help/#post-1116695)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
