Title: Sidebar alignment &#8211; newly widgetized theme
Last modified: August 20, 2016

---

# Sidebar alignment – newly widgetized theme

 *  [mimmikens](https://wordpress.org/support/users/mimmikens/)
 * (@mimmikens)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/sidebar-alignment-newly-widgetized-theme/)
 * hi all,
 * thanks for taking the time to look at this for me. I’ve done some trawling through
   the forums and support docs but can’t work this one out (i am a noob with very
   basic css and html and have found the forums to be amazingly helpful looking 
   at others’ posts so thanks in advance).
 * Theme: melville (have customised this including adding a sidebar so that I can
   use widgets)
 * site url: [http://www.wordherd.com.au/blog](http://www.wordherd.com.au/blog)
 * Issue: I want to center align the sidebar as it appears under the line below 
   the logo but can’t work out which code or where to put it! I think it may have
   something to do with the sidebar being categorised as ‘ul’ but not sure.
 * Here is the code from the css:
 *     ```
       .widget-container {
       float:left;
       margin-right:15px !important;
   
       }
   
       .widget-container ul, .widget-container ul li{
       margin:0px !important;
       padding:0px !important;
   
       }
       .widget-title{
       margin:0px !important;
       }
   
       /* @end */
       ```
   
 * i think that’s the relevant section of code.
 * regards,
 * miriam
 * [http://www.wordherd.com.au/blog](http://www.wordherd.com.au/blog)

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

 *  [futurepocket](https://wordpress.org/support/users/futurepocket/)
 * (@futurepocket)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/sidebar-alignment-newly-widgetized-theme/#post-2575089)
 * Hmm, I can’t seem to pinpoint where exactly the sidebar is on your website :P.
   Anyways, remove the float:left from the CSS if you want to center align it and
   add padding/margin accordingly to get it where you want it to be.
 *  Thread Starter [mimmikens](https://wordpress.org/support/users/mimmikens/)
 * (@mimmikens)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/sidebar-alignment-newly-widgetized-theme/#post-2575091)
 * thanks fo that future pocket – the sidebar is at the top just under the header(
   the section with search and stalk etc.)
 * problem is – when i delete ‘float:left’ it structures itself as a list instead
   of horizontally!
 * any ideas?
 * would the code for the sidebar or function file be helpful in diagnosing/correcting
   the problem?
 * thanks 🙂

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

The topic ‘Sidebar alignment – newly widgetized theme’ is closed to new replies.

## Tags

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

 * 2 replies
 * 2 participants
 * Last reply from: [mimmikens](https://wordpress.org/support/users/mimmikens/)
 * Last activity: [14 years, 3 months ago](https://wordpress.org/support/topic/sidebar-alignment-newly-widgetized-theme/#post-2575091)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
