• 0

different color sidebar same height as main content area


Question

Posted · Report post

The owners of a site I'm building want the side bar and the rest of the page to be two different colors. Easy enough to do. They also want the height of the sidebar to adjust such that it's either a minimum height or the same as the main content. Minimum height is also easy enough to do, but I'm stumped on getting it to adjust to the height of the main content. Frankly, I've never been able to do this easily in any system, and I sure can't in DMS. Any help? Greatly appreciated if there is. :thumbsu:

Share this post


Link to post
Share on other sites

5 answers to this question

  • 0

Posted · Report post

Hi,

 

As you can imagine or already know, something like this is quite tricky as both the content in the Content area and content in the Sidebar are usually different. Therefore, I am not quite sure what you can do so that the sidebar always matches the Content area.

However, when doing a quick a search, I did find this article which may assist you - http://css-tricks.com/fluid-width-equal-height-columns/

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Hello iclebj14 

 

Could you provide a link to the site and we can take a look. 

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

It's running downlevel while I redo it:

 

http://uscsigmanu.org/alumni-site/under-grad/

 

It's a Word Press multi-site installation, where the default site is just a splash page that splits people into two channels for under grad and alumni Right now, I have both the main content block and the sidebar stuck into a two column layout. I had some notion that it might be easier to get columns to work than to have the sidebar and content in normal mode.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Thanks for the reply and the link. I've actually used one of the methods there on another site. I tried one of the suggestions on the linked page on this site and wasn't successful. I think I'll move on with the design and come back to this later if it's a big deal to the customer. Thanks for your help.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Hi there,

 

Thanks, we'll resolve this topic for the time being, if you need to come back on this please start a new thread and we'll be able to pick in the moderating queue for you :-)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now