The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Help with DIV that does not float (4 posts)

  1. WP Monkey
    Posted 7 years ago #

    I have added an second sidebar (sidebar2) to a theme and added a widget to it, but it is floating below the sidebar and content DIVs, at the bottom of the page instead of on the right side. I assume I'm doing something wrong in my CSS (position is relative, no float) or where I am calling it from within the index.php. Any thoughts?

    Site: http://kodiaktraining.com/

  2. esmi
    Forum Moderator
    Posted 7 years ago #

    On that layout, you'd need to call the second sidebar after the post content and set it to float:right in the CSS.

  3. WP Monkey
    Posted 6 years ago #

    This is the order of the tags (in summary) in my index.php file:


    Where sidebar2 is the second sidebar that is floating to the bottom of the page not the top. Could this be a CSS property that needs to be set to top?

  4. WP Monkey
    Posted 6 years ago #

    And sidebar2 is already set to float right, so I'm wondering why it is aligned bottom. Do I need to add up all the widths of the page, sidebar, and content to make sure if there is enough room?

Topic Closed

This topic has been closed to new replies.

About this Topic