Forum Support

Shape 5
September 28, 2021, 02:49:39 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Advert2 stick to bottom of page?  (Read 303 times)
franchard
Jr. Member
**
Offline Offline

Posts: 5



« on: 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.
Logged
mikek
Administrator
*****
Offline Offline

Posts: 28743



WWW
« Reply #1 on: 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?
Logged

Mike Knott
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
franchard
Jr. Member
**
Offline Offline

Posts: 5



« Reply #2 on: December 01, 2008, 04:08:20 PM »

Auto larger margin. See image attached
« Last Edit: December 01, 2008, 04:12:21 PM by franchard » Logged
mikek
Administrator
*****
Offline Offline

Posts: 28743



WWW
« Reply #3 on: 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;
}
Logged

Mike Knott
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.