Title: Separated widgets
Last modified: August 19, 2016

---

# Separated widgets

 *  Resolved [patchtown](https://wordpress.org/support/users/patchtown/)
 * (@patchtown)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/separated-widgets/)
 * Hello all. I’m new to coding wordpress themes and I’m having a problem with my
   widgets being separated. Here is the blog for reference:
 * [http://jewelrykings1912.com/blog/](http://jewelrykings1912.com/blog/)
 * I have a two column layout with the sidebar widgets appearing on the left and
   the main content on the right. Right now, only the search bar is showing up where
   it’s supposed to. The rest of the widgets (pages, archives, blogroll, etc.) are
   located at the bottom of the page, seemingly located outside of the two columns.
   The position of these bottom widgets does not change if the content and the sidebar
   switch sides.
 * Adjusting the width of either column and the margins also does not seem to make
   a difference. Here is the layout css:
 *     ```
       #container {
       	float: right;
       	margin: 0 -220px 0 0;
       	width: 98%;
       	border-left: 1px solid #dbdbdb;
       }
       #content {
       	margin: 0 240px 0 20px;
       }
       #primary,
       #secondary {
       	float: left;
       	overflow: hidden;
       	width: 220px;
       }
   
       #secondary {
       	clear: left;
       }
       #footer {
       	clear: both;
       	width: 100%;
       }
       ```
   
 * Does anybody have an idea of what I’m doing wrong? Thanks.

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

 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/separated-widgets/#post-1579693)
 * your css does not match the html.
 * for instance your html code does not have a div `#primary` …
 *  Thread Starter [patchtown](https://wordpress.org/support/users/patchtown/)
 * (@patchtown)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/separated-widgets/#post-1579695)
 * Thanks alchymyth. And I’m sorry if this seems like a dumb question, but where
   do you fix the html code? The files are divided into css and php, right?
 * I’m still confused because I don’t understand why only one of the widgets, the
   search bar, is showing up where it’s supposed to and the rest of them are floating
   at the bottom of the page.
 *  Thread Starter [patchtown](https://wordpress.org/support/users/patchtown/)
 * (@patchtown)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/separated-widgets/#post-1579705)
 * I’ve updated the layout temporarily to include green borders around my divs to
   illustrate better what is happening.

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

The topic ‘Separated widgets’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [patchtown](https://wordpress.org/support/users/patchtown/)
 * Last activity: [15 years, 10 months ago](https://wordpress.org/support/topic/separated-widgets/#post-1579705)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
