Page 1 of 1

Footer issues with carl_contest theme

Posted: Sat Jan 22, 2011 6:07 am
by basshook
So far I am impressed with the Serendipity blog script and what it can do. I've been struggling all day trying to get my footer image to align with the rest of the page in the carl_contest theme, but cannot seem to make it work. I've tried creating a frame to surround the divs but that didn't work, I tried creating a layer no luck there either, I've tried changing this in style.css

Code: Select all

#footer {
        padding:0;
	margin: -13px 0px 0px 182px;
	width: 850px;
	height: 123px;
	text-align: center;
	background-image: url({TEMPLATE_PATH}img/sportsmanfooter.png); }
which worked fine as long as you don't change the resolution. Can anyone help me out or point me in the right direction? Here is the site url: http://www.sportsmanfishing.com/blog/index.php

Basshook

Re: Footer issues with carl_contest theme

Posted: Sat Jan 22, 2011 12:02 pm
by onli
text-align: center seems to work. If you change your margin to margin: auto; it should be centered.

Re: Footer issues with carl_contest theme

Posted: Sat Jan 22, 2011 2:58 pm
by yellowled
basshook wrote:

Code: Select all

#footer {
        padding:0;
	margin: -13px 0px 0px 182px;
	width: 850px;
	height: 123px;
	text-align: center;
	background-image: url({TEMPLATE_PATH}img/sportsmanfooter.png); }
You're gonna need margin: -13px auto 16px; -- change the 16px to whatever you prefer, but keep the rest that way. Also, a little padding wouldn't hur.

YL

Re: Footer issues with carl_contest theme

Posted: Sat Jan 22, 2011 7:36 pm
by basshook
yellowled wrote:
basshook wrote:

Code: Select all

#footer {
        padding:0;
	margin: -13px 0px 0px 182px;
	width: 850px;
	height: 123px;
	text-align: center;
	background-image: url({TEMPLATE_PATH}img/sportsmanfooter.png); }
You're gonna need margin: -13px auto 16px; -- change the 16px to whatever you prefer, but keep the rest that way. Also, a little padding wouldn't hur.

YL
Thanks Yellowled, that did the trick.