Shape 5

Joomla Templates => Eden Rock - April 08 - Club => : franchard December 01, 2008, 03:14:02 PM



: Advert2 stick to bottom of page?
: franchard December 01, 2008, 03:14:02 PM
I am using the Edenrock template. I was wondering if there is a way to get advert2 to stick to the bottom of the page when there is little content on the page. Otherwise, it's all mushed up in the middle of the page and looks rubbish.

I think I need to modify the CSS, but I am not sure how.


: Re: Advert2 stick to bottom of page?
: mikek December 01, 2008, 03:45:33 PM
Hello, I am not sure what you mean, advert2 is at the bottom of the page. Do you just want a larger margin at the top of the module?


: Re: Advert2 stick to bottom of page?
: franchard December 01, 2008, 04:08:20 PM
Auto larger margin. See image attached


: Re: Advert2 stick to bottom of page?
: mikek December 02, 2008, 07:29:25 AM
The only way to do that is to add a static top margin to the module, unfortunately there's no way in css to tell a div to align to the bottom of another div. If you add the following to the bottom of the template_css.css file it will increase the gap between the content and the module itself:

##s5_advert2 {
margin-top:50px;
}