• Resolved KJG520

    (@kjg520)


    Hello,

    I am designing a wordpress website for a non-profit organization. I am adapting the zeecorporate theme for my use. The content from pages and posts is appearing above the sidebar. I have done an exhaustive search in the formum to find a solution and accordingly I have tried adjusting widths and finding open <div> tags. It seems everything is in order but I may simply be missing the problem. I’ve run the code through Validator, but that seems fine (it comes up with errors, but none that were not always there). I am developing the them locally, so there is no url but I will attach the file so you can view the site.

    I will also embed the code here.
    Style.css
    [CSS moderated as per the Forum Rules. Please just post a link to your site.]

    Index.php

    [Code moderated as per the Forum Rules. Please use the pastebin]

    Any help is greatly appreciated.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Can you please use http://pastebin.com/ for the code?

    Also a screenshot of your layout would help us have a better idea 🙂

    Thread Starter KJG520

    (@kjg520)

    I fixed the problem by adding this code to style.css

    Under Structure

    #content {
    	width: 550px;
    	float: left;
    	overflow: hidden;

    Under Sidebar

    margin-left: 590px;
    	background: #eee;
    	padding: 10px;
    	border-top: 1px solid #ddd;
    	overflow: hidden;
    Thread Starter KJG520

    (@kjg520)

    To clarify, the overflow: hidden; part is what is important.

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

The topic ‘Sidebar Appears Below Content’ is closed to new replies.