WordPress.org

Ready to get started?Download WordPress

Forums

Puzzling Error in Theme - Feel like I've tried everything (6 posts)

  1. policyschool
    Member
    Posted 2 years ago #

    Our theme was working fine up until yesterday. As far as we know, no one was making any changes to the website at the time it broke. Here is our site now.

    http://nuweb9.neu.edu/lpp/

    This is what the theme is supposed to look like, which is running on another one of our sites.

    http://nuweb9.neu.edu/murp/

    I've completely reinstalled the theme files and deactivated all the plugins. I have FTP access. Apart from that, I have no idea what to do. It looks like something is changing the theme - specifically, moving the background elements up a great deal.

    If anyone has an suggestions or code that might fix this issue, I would be very thankful.

  2. Jeremy Pry
    Member
    Posted 2 years ago #

    Could you be a little bit more specific about what needs to change? Just comparing the two pages, there are too many differences to know exactly what it is that you're looking at as a problem.

  3. policyschool
    Member
    Posted 2 years ago #

    Sorry, I've been trying things out and you may have seen an edited version. I found that if I put in a "margin: 800px 0 0 0" in the bottom_container code, it shifts the footer and the darker grey container box to the bottom of the page where it should be. That's only a quick fix though. I've reset it now to show the original problem.

    The grey footer/bottom elements of the bottom of the page have somehow shifted to the very top and are covering the background, which is a colored bar. I can give it a temporary fix by adjusting the margins, but this should not be happening in the first place and I was wondering if anyone had any idea as to where the problem stems from.

  4. Jeremy Pry
    Member
    Posted 2 years ago #

    Fortunately, this is a simple fix. Go to approximately line 96 of your style.css stylesheet, and you should see the .centercolumn settings. Add a line that sets the height, like this: height: 800px;. Adjust this as you feel is needed.

    The reason you're seeing this problem is somewhat interesting. Basically, you have 3 main <div> elements on your page. All of your main content is in your top one, but it's only 60px tall. The reason you're still able to see everything is that you have the overflow: visible; property set.

    Setting the height expands this div to the correct size, which allows more of the background to be seen.

  5. policyschool
    Member
    Posted 2 years ago #

    Thank you very much. For some reason that expands the footer bar to be extremely tall, but I can probably figure that out or use my original solution. I wonder why the other site running this theme isn't having this problem.

    Unless you have any other thoughts, I can label this resolved. Thanks again!

  6. Jeremy Pry
    Member
    Posted 2 years ago #

    I don't know that I have anything else to offer, other than to point you in (what I believe to be) the right direction. Here's the general layout of the working page:

    http://pastebin.com/Bc2eUSS5

    Here's the general layout of the non-working page:

    http://pastebin.com/B2f2Bxzg

    I'd be willing to bet you're missing a closing </div> tag somewhere.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.