WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Top of Sidebar falls even with bottom of 2nd post on index.php page. (6 posts)

  1. awhitley2
    Member
    Posted 1 year ago #

    I have installed a blank theme and inserted my html and css to make my index look like a static version of my website. All looks fine when I have a single post on my index page, but when I add a second post, the top of my sidebar falls even with bottom of second post. I have looked at content widths and and everything else I can think of and all looks OK. I am thinking that this is WordPress thing but not sure.

    Here are links to my code as it stands:
    header.php,
    index.php,
    sidebar.php,
    footer.php,
    style.css.

    Do you need any other info to make this understandable?
    If so, I will be glad to add more.

  2. alchymyth
    Forum Moderator
    Posted 1 year ago #

    please post a live link to your site - it will be virtually impossible to check that from files alone.

    as WordPress does not add formatting, this is likely a theme (or plugin) issue;
    where did you download your theme from?

  3. awhitley2
    Member
    Posted 1 year ago #

    My site is not live, it is a localhost installation that I am using until I work out all the bugs. The blank theme was downloaded from a tutorial on Lynda.com on how to convert static html pages into a WordPress Theme.

    Not sure how to get you to see my site live. Trying to figure out how to show a screenshot of the page as it presently looks but haven't figured out how to put a screenshot on this forum post yet.

  4. awhitley2
    Member
    Posted 1 year ago #

    The only other thing I can think to do is install WordPress into a sub folder on my actual site and let you look at that. Won't be a quick process though. Take a couple of hours or so.

  5. awhitley2
    Member
    Posted 1 year ago #

    Here is a link to an online version that I set up:

    http://www.webtechbydesign.com/testInstall

  6. awhitley2
    Member
    Posted 1 year ago #

    Never did get any help on this one but luckily I resolved it myself.

    The problem was a float:left: in my sidebar. Not exactly sure why it was causing a problem. My widths were all well under, but removing the float allowed my sidebar to go to the top of the page instead of getting hung up at the bottom of the second post.

Topic Closed

This topic has been closed to new replies.

About this Topic