Title: Sidebar div settings
Last modified: August 18, 2016

---

# Sidebar div settings

 *  [gazzanewpy](https://wordpress.org/support/users/gazzanewpy/)
 * (@gazzanewpy)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/sidebar-div-settings/)
 * I have been through the CSS for the Default theme (I’m altering it completely)
   and I want to move the sidebar in and up, alongside the main posting div. The
   main div is content (I believe) and the sidebar is (surprisingly) sidebar. I 
   need them to fit into a window (an iframe) of 700 so I thought 500 content, 200
   sidebar. I got width sorted in the CSS but still cannot get the sidebar alongside
   the content just where I want it. Dreamweaver does not display DIVs clearly and
   won’t work with PHP pages anyway so I’m working blind to a large degree.
 * Any ideas?

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

 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/sidebar-div-settings/#post-350586)
 * _I’m working blind to a large degree…_
 * What could I add? 😉 The whole background in K. theme is an image, so you cannot
   do anything in CSS about the width. (and the images are “styled” in the header.
   php)
 * If you want to keep your sanity – choose another theme to modify.
 *  Thread Starter [gazzanewpy](https://wordpress.org/support/users/gazzanewpy/)
 * (@gazzanewpy)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/sidebar-div-settings/#post-350589)
 * Oh, I’ve done most of it and made the whole PHP look similar to my main site 
   but I liked the idea of including it in an iFrame so it was identical. I’ve butchered
   most of the CSS and the header.PHP, footer.PHP and some of the index.PHP has 
   changed but this part stumps me. I thought DIVs were floating boxes
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/sidebar-div-settings/#post-350593)
 * Divs are “boxes – that’s true.
    Not seeing it, I am out of ideas. I have to add
   though, I don’t do Kubrick and I don’t know anything about (i)frames.
 *  Thread Starter [gazzanewpy](https://wordpress.org/support/users/gazzanewpy/)
 * (@gazzanewpy)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/sidebar-div-settings/#post-350598)
 * okay, here’s the link (though remember this is a work in progress and the site
   is actually hidden behind another one)
 * [http://www.gazzanewpy.me.uk/wordpress/reflect.htm](http://www.gazzanewpy.me.uk/wordpress/reflect.htm)
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/sidebar-div-settings/#post-350603)
 * _to fit into a window (an iframe) of 700 so I thought 500 content, 200 sidebar.
   I got width sorted in the CSS _
 * Maybe you changed the width values (though I didn’t see it!) but you also need
   to change the margins for the content and sidebar (floated) divs.
 *  Thread Starter [gazzanewpy](https://wordpress.org/support/users/gazzanewpy/)
 * (@gazzanewpy)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/sidebar-div-settings/#post-350605)
 * your right! I’ll go try.By the way, the CSS is called style.css
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/sidebar-div-settings/#post-350607)
 * I know how it is called – I even looked at it, just didn’t see your claimed changes
   😉
 *  Thread Starter [gazzanewpy](https://wordpress.org/support/users/gazzanewpy/)
 * (@gazzanewpy)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/sidebar-div-settings/#post-350608)
 * No, in fact I set the margin to 500 and the width to 200 (making it run up to
   the 700 required. I then set the content 0 with wdith 500. Yet nothing
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/sidebar-div-settings/#post-350610)
 * Using FF and the Dev Toolbar I could edit your stylesheet and could shrink your
   content and/or sidebar to whatever width I wanted.
    You just have to know _what_
   to edit. And your frame doesn’t seem to be 700px. Furthermore, the whole blog
   stuff is usually wrapped in an outer div and that will define how wide you can
   go.
 * So, there is nothing esle to do, just trial and error and learning how these 
   things work. Of course, using a simple theme would keep you sane 😉
 *  Thread Starter [gazzanewpy](https://wordpress.org/support/users/gazzanewpy/)
 * (@gazzanewpy)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/sidebar-div-settings/#post-350611)
 * FF and the Dev Toolbar?
 * And yeah, simpler would be better but I don’t like easy lives!
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/sidebar-div-settings/#post-350612)
 * Firefox (as in browser). It has a nice little gizmo that helped me to take a 
   look at your css file and even edit it and see the changes. Of course, it’s not
   changing anything on your server, just in the browser, but you can see instantly
   the effect of the editing.
    [http://www.mozilla.com/firefox/](http://www.mozilla.com/firefox/)
 *  Thread Starter [gazzanewpy](https://wordpress.org/support/users/gazzanewpy/)
 * (@gazzanewpy)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/sidebar-div-settings/#post-350613)
 * I run firefox but didn’t know about this tool. I have got to try that out. Thanks!
 *  [vkaryl](https://wordpress.org/support/users/vkaryl/)
 * (@vkaryl)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/sidebar-div-settings/#post-350634)
 * Also for FF: aardvark, and formatted source extensions…. which combined with 
   the web dev toolbar make it very very easy to manipulate sites and the design
   thereof.

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

The topic ‘Sidebar div settings’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 13 replies
 * 3 participants
 * Last reply from: [vkaryl](https://wordpress.org/support/users/vkaryl/)
 * Last activity: [20 years, 2 months ago](https://wordpress.org/support/topic/sidebar-div-settings/#post-350634)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
