Title: Side bar issue
Last modified: August 19, 2016

---

# Side bar issue

 *  Resolved [michaelbleakley](https://wordpress.org/support/users/michaelbleakley/)
 * (@michaelbleakley)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/side-bar-issue-1/)
 * Hello i have an issue with my sidebar
    i have been told that it is not registerd
   properly here is a link to my site
 * [http://www.bodyfitbrides.com](http://www.bodyfitbrides.com)
 * and here is a link to pastbin
 * [http://pastebin.com/936QMvVb](http://pastebin.com/936QMvVb)
 * how do i fix this problem??
 * thank you

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

 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/side-bar-issue-1/#post-1606681)
 * add an opening `<ul>` before the `if(.....`
 * and add the closing `</ul>` after the `endif;`
 * and remove most of the stuff in the middle, as you will never see it again using
   widgets:
 *     ```
       <div id="sidebar">
       <ul>
         <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) : ?>
             		<?php wp_register(); ?>
         		<li><?php wp_loginout(); ?></li>
         		<?php wp_meta(); ?>
         <?php endif; ?>
       </ul>
       <div class="box" id="share">
           <a href="/feed/"><img src="<?php bloginfo('template_url')?>/images/rss.jpg" alt="RSS feed" /></a>
           <a href="http://www.facebook.com/CHANGE_THIS"><img src="<?php bloginfo('template_url')?>/images/facebook.jpg" alt="Facebook" /></a>
           <a href="http://www.twitter.com/CHANGE_THIS"><img src="<?php bloginfo('template_url')?>/images/twitter.jpg" alt="Twitter" /></a>
         </div>
   
       </div><!-- ======= sidebar END ======= -->
       ```
   
 * to remove the bullet points in the sidebar, add a new line in style.css:
 * `#sidebar ul {list-style-type:none;}`
 * and then start with adjusting the padding and margins in `#sidebar ul` and `#
   sidebar ul li` (add these styles)
 *     ```
       #sidebar ul {padding:0; margin:0; }
       #sidebar ul li {padding:0 10px; margin:0; }
       ```
   
 * (to get full control, you may also need to style `#sidebar ul ul` and `#sidebar
   ul ul li` )
 *  Thread Starter [michaelbleakley](https://wordpress.org/support/users/michaelbleakley/)
 * (@michaelbleakley)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/side-bar-issue-1/#post-1606687)
 * thanks mate,
    Sorry i am a amateur at word press
 * so the
    -  above the <?php if (
 * and the
    below the <?php endif; ?> as shown in the code you pasted ?
 * thanks for you help alchymyth ill give it a go and see what happens!!
 *  Thread Starter [michaelbleakley](https://wordpress.org/support/users/michaelbleakley/)
 * (@michaelbleakley)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/side-bar-issue-1/#post-1606688)
 * thanks all sorted i think

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

The topic ‘Side bar issue’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [michaelbleakley](https://wordpress.org/support/users/michaelbleakley/)
 * Last activity: [15 years, 9 months ago](https://wordpress.org/support/topic/side-bar-issue-1/#post-1606688)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
