WordPress.org

Ready to get started?Download WordPress

Forums

Fog theme, content float issue (5 posts)

  1. xrun
    Member
    Posted 5 years ago #

    Hi.
    I'm working on a site using Milos fog theme.
    In the home page it looks as it should, but when I goto a page or post the content floats to the far left, and the left sidebar sits right next to the right sidebar.
    Any suggestions on how to solve this issue?
    Thank you.

  2. stvwlf
    Member
    Posted 5 years ago #

    Its best if you post the URL of the site. Its a CSS issue.

  3. brokenaperture
    Member
    Posted 5 years ago #

    I have same problem with this theme.

    On the main page, the content is in the middle of the left and right columns.

    http://www.brokenaperture.com/

    However, say if we click on the latest post, the content then moves to the left of the left hand column.

    http://www.brokenaperture.com/?p=97

  4. brokenaperture
    Member
    Posted 5 years ago #

    Anyone able to solve this issue?

  5. esmi
    Forum Moderator
    Posted 5 years ago #

    In single.php, the left sidebar is being called after the post content - instead of before it. The correct structure should be:

    <div id="l_sidebar"></div>
    <div id="main"></div>
    <div id="r_sidebar"></div>

    but in single.php, it's:

    <div id="main"></div>
    <div id="l_sidebar"></div>
    <div id="r_sidebar"></div>

    Move the call to the left sidebar above the start of the Loop in single.php.

Topic Closed

This topic has been closed to new replies.

About this Topic