123 posts
  • Has been part of the Envato Community for over 5 years
  • Has referred 1+ members
  • Has sold $1,000+ on Envato Market
  • Has collected 1+ items on Envato Market
+2 more
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 :)

4390 posts ThemeForest Reviewer
  • Has referred 1+ members
  • Has sold $40,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Member of the Envato Team
+12 more
Ivor Envato team 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
  • Has been part of the Envato Community for over 5 years
  • Has sold $1,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
+1 more
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
  • Has been part of the Envato Community for over 5 years
  • Has referred 1+ members
  • Has sold $1,000+ on Envato Market
  • Has collected 1+ items on Envato Market
+2 more
adam_robinson says

right ill give that a shot

4390 posts ThemeForest Reviewer
  • Has referred 1+ members
  • Has sold $40,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Member of the Envato Team
+12 more
Ivor Envato team says
right ill give that a shot

Nice theme btw :) good luck.

123 posts
  • Has been part of the Envato Community for over 5 years
  • Has referred 1+ members
  • Has sold $1,000+ on Envato Market
  • Has collected 1+ items on Envato Market
+2 more
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.

4390 posts ThemeForest Reviewer
  • Has referred 1+ members
  • Has sold $40,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Member of the Envato Team
+12 more
Ivor Envato team 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
  • Has been part of the Envato Community for over 5 years
  • Has collected 10+ items on Envato Market
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

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by