123 posts
  • Bought between 1 and 9 items
  • Exclusive Author
  • Has been a member for 4-5 years
  • Referred between 1 and 9 users
  • Sold between 1 000 and 5 000 dollars
  • United Kingdom
adam_robinson says

hey everyone,

I’m in the process of coding up my second theme…and having a little stumbling block with the footer. Basically i have a sidebar and a main column structure…and the main column is absolutely positioned (due to the design of the theme).

The problem is the footer. I want it to sit underneath both the sidebar and main column (which ever is tallest)..but because my main content in positioned absolute when it is taller than the side bar the content overlaps.

You can see a demo here where i’ve demonstrated the problem. www.demo.adamrobinson.cc/wave

i know all about position:absolute being taken out the ‘flow’ but hope there’s a solution :)

4317 posts ThemeForest Reviewer
  • Envato Staff
  • Reviewer
  • Community Moderator
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Venezuela
  • Has been a member for 5-6 years
  • Envato Studio (Microlancer) Beta Tester
  • Sold between 10 000 and 50 000 dollars
  • Exclusive Author
+9 more
Ivor Reviewer says

You don’t need

position:absolute;
set a width to the sidebar – float it to the left, set a width to the maincontent and float it to the right then play around with margin. That’ll do the work. I never ever use the positioning property for this. Remember to clear the elements.

Hope that helps.

Example: http://grab.by/N2B ;)

103 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 4-5 years
  • Sold between 1 000 and 5 000 dollars
  • United States
ImadJomaa says

In my experiences, you can’t do much when it’s set to an absolute position. Why not float it then clear it in a div before your footer div?

123 posts
  • Bought between 1 and 9 items
  • Exclusive Author
  • Has been a member for 4-5 years
  • Referred between 1 and 9 users
  • Sold between 1 000 and 5 000 dollars
  • United Kingdom
adam_robinson says

right ill give that a shot

4317 posts ThemeForest Reviewer
  • Envato Staff
  • Reviewer
  • Community Moderator
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Venezuela
  • Has been a member for 5-6 years
  • Envato Studio (Microlancer) Beta Tester
  • Sold between 10 000 and 50 000 dollars
  • Exclusive Author
+9 more
Ivor Reviewer says
right ill give that a shot

Nice theme btw :) good luck.

123 posts
  • Bought between 1 and 9 items
  • Exclusive Author
  • Has been a member for 4-5 years
  • Referred between 1 and 9 users
  • Sold between 1 000 and 5 000 dollars
  • United Kingdom
adam_robinson says
right ill give that a shot
Nice theme btw :) good luck.

thanks ipad. got quite a bit of work to do on it yet. think ive solved the problem now. thanks for the help. dont know why i didnt try that in the first place.

4317 posts ThemeForest Reviewer
  • Envato Staff
  • Reviewer
  • Community Moderator
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Venezuela
  • Has been a member for 5-6 years
  • Envato Studio (Microlancer) Beta Tester
  • Sold between 10 000 and 50 000 dollars
  • Exclusive Author
+9 more
Ivor Reviewer says
right ill give that a shot
Nice theme btw :) good luck.
thanks ipad. got quite a bit of work to do on it yet. think ive solved the problem now. thanks for the help. dont know why i didnt try that in the first place.

No problems dude :) come back if you need more help.

26 posts
  • Bought between 10 and 49 items
  • Has been a member for 5-6 years
revive says

better still… research and select a grid system (especially for fast, clean theme development where you dont need something specific for a development).. and utilize it’s framework to get the desired layout.. ;) cross browser compatible, clean.. easy to modify.

FWIW

by
by
by
by
by
by