Forums

Footer text doesn't scroll with everything else (CSS) (5 posts)

  1. HorrorUK
    Member
    Posted 1 year ago #

    I'm working on a new theme for my site, but am havign some trouble with the footer text.

    I've got it to go to the bottom of the screen (finally), but it stays at the bottom of the screen as it first appears and, if the page is longer, it just hangs there.

    I'm trying to get it to be at the bottom of everything on the page, as with almost all sites, but can't figure out how to do it.

    This is the CSS I'm using:

    #footer {
    	background-color: transparent;
    	width: 1000px;
    	color: #000;
    	text-align: center;
    	position: absolute;
    	bottom: 0;
    }

    You can see it here:
    http://glastonbury.ws

    Big thanks for any help with this.

  2. Shayne
    Member
    Posted 1 year ago #

    Try changing your "absolute" to "relative".

  3. HorrorUK
    Member
    Posted 1 year ago #

    Changing it to relative causes it to go to the bottom of where the text goes, as you can see if you click on one of the links.

    I'm trying to get it to stick to the bottom of the page, but if the page is longer than a single screen, it would remain below all the text.

  4. Shayne
    Member
    Posted 1 year ago #

    gotcha. why don't you just drop footer code in footer.php after all other calls are made? Then use CSS to position it to your liking.

  5. HorrorUK
    Member
    Posted 1 year ago #

    I was thinking that, but on shorter pages it won't appear at the bottom of the screen.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.