Title: Dynamic Sidebar CSS
Last modified: August 20, 2016

---

# Dynamic Sidebar CSS

 *  [niya](https://wordpress.org/support/users/niya/)
 * (@niya)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/dynamic-sidebar-css/)
 * I’m having a problem customizing my dynamic sidebar. I’ve never had this problem
   before so I’m hoping someone can help me. The first 2 elements on the sidebar
   are following the stylesheet, but everything that follows is not and I can’t 
   seem to find the reason.
 * Here is the [visual](http://potteritus.net/test1.jpg).
 * Here is the functions.php
 *     ```
       <?php
       if ( function_exists('register_sidebar') )
       register_sidebar(array(
       'before_widget' => '<li>',
       'after_widget' => '</li>',
       'before_title' => '<h2>',
       'after_title' => '</h2>',
       ));
       ?>
       ```
   
 * Here is the sidebar.php
 * _[code moderated - please follow the [forum guidelines ](http://codex.wordpress.org/Forum_Welcome#Posting_Code)
   for posting code]_
 * Here is the css:
 * _[dito - please post a link to your site]_
 * Any help is appreciated. thanks

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

 *  [Radu](https://wordpress.org/support/users/kthemes/)
 * (@kthemes)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/dynamic-sidebar-css/#post-2303154)
 * there must be some code breaking your sidebar.
    have you tried removing all /
   some of the widgets? please provide me with the url of your site so i can take
   a look
 *  Thread Starter [niya](https://wordpress.org/support/users/niya/)
 * (@niya)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/dynamic-sidebar-css/#post-2303259)
 * The site was on maintenance mode right now which is why I couldn’t show you the
   live [version ](http://obsidian-rapture.com)🙂
 * You actually just solved it! what I did before was remove the widgets but I always
   placed them back to the same position as before. I never tried moving them around.
 * Once I changed their positions I saw that the code broke only after the chatbox.
   It seems I had an extra </div> in the widget which was breaking my code. It never
   crossed my mind that it could be the code in the widget …. something so simple.
 * This is what happens when you stare at something to long.
 * Thank you!!
 *  [Radu](https://wordpress.org/support/users/kthemes/)
 * (@kthemes)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/dynamic-sidebar-css/#post-2303271)
 * you’re welcome!

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

The topic ‘Dynamic Sidebar CSS’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [Radu](https://wordpress.org/support/users/kthemes/)
 * Last activity: [14 years, 9 months ago](https://wordpress.org/support/topic/dynamic-sidebar-css/#post-2303271)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
