Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8536289
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T10:37:40+00:00 2026-06-11T10:37:40+00:00

I have a content area and a sidebar. My content area is fine. When

  • 0

I have a content area and a sidebar. My content area is fine. When I add blog posts through WordPress the content area expands and doesn’t go over the footer. My sidebar is fine but only when the content area is longer than the sidebar. When the content area is shorter, the sidebar goes over the footer.

I’m wondering why the sidebar isn’t pushing the footer down like the content is. I’ve called the php get_sidebar(); inside the content div so I’m unsure what the problem is. I’m guessing it has something to do with the absolute positioning. I’ve tried positioning my sidebar to relative instead but then the content area gets pushed down and there is a huge margin, so that messes it up.

Here is the CSS for the elements of this section:

html, body {
height: 100%;
}

#wrapper {
min-height: 100%;
position: relative;
}

#container{
width: 960px;
position: relative;
left: 50%;
margin-left: -480px;
}

#content{
width: 960px;
position: relative;
}

.entry-content{
width: 600px;
}

#sidebar{
width: 200px;
top: 0px;
right: 0px;
margin-right: 0px;
position: absolute;
text-align: right;
}

#footer{
width: 100%;
height: 300px;
bottom: 0px;
}

I’ll be very grateful if someone manages to tell me how to get this working. I’m getting a bit frustrated over it. Thanks in advance!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T10:37:42+00:00Added an answer on June 11, 2026 at 10:37 am

    Your have position: absolute; on your sidebar and absolutely positioned elements are taken out of the normal flow of the document (that is, other elements act as if the absolutely positioned ones are not there). That’s why it isn’t pushing the footer.

    You might want to consider floating it instead. Use either float: left; on your content area or float: right;the sidebar, whichever is first in your HTML. And add overflow: hidden on their parent.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need a sidebar and a content area. I want to have equal height
I have a sidebar that is floated left, and then a main content area
Header, footer and sidebars have fixed position. In the center a content area with
I have a container MovieClip that serves as a content area that I need
I've created a blog main page using PHP and have included a sidebar and
I have a few floating elements like a sidebar that floated besides a content
I have what I thought was a pretty simple area of my webpage, but
I have some content in div area. I want to take printout the selected
I have created an application that has a toolbar, menubar and content area. I
I have been trying to use the min-height:100% to get my content area to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.