WordPress.org

Forums

sidebar placing (5 posts)

  1. danyi03
    Member
    Posted 1 year ago #

    hi!

    I have a problem making a theme. The sidebar on the front page is in the lower corner and obviously I want it to be on the top, starting where the first post starts. Can anyone help me what to do?

    the page:
    http://wordpress.photowheel.hu/

    thanks in advance

  2. esmi
    Forum Moderator
    Posted 1 year ago #

    I'm sorry but it is really beyond the scope of these forums to deal with general CSS issues. Try a dedicated CSS resource such as http://www.css-discuss.org/ instead. In the meantime, try using Firefox with the Firebug add-on for this kind of CSS work. Or use whatever developer tool is available in your web browser.
    http://getfirebug.com/

  3. danyi03
    Member
    Posted 1 year ago #

    Thanks for the reply. Sadly, firebug doesn't help me too much since I know the code, I wrote it, I just don't understand why the sidebar doesn't come up to the top, I thought someone may spot something in the code that causes this.

  4. WPyogi
    Forum Moderator
    Posted 1 year ago #

    You generally need to use "float" in the CSS to put elements side by side. The sidebar cannot be inside the content div either if it's supposed to be next to it, so your HTML structure needs modifying as well.

  5. danyi03
    Member
    Posted 1 year ago #

    Thanks, I'll look into that!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags