WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] How to remove extra spacing on a page? (4 posts)

  1. charlesleahy
    Member
    Posted 1 year ago #

    Hi, ever since I began creating a personal 404 Error page the page got bigger and now has a scroll bar. Just wondering how I make the page smaller?

    Example of the page: http://www.allxpats.com/capetown/404

    As you can see lots of extra space & don't know how to get rid of it.

    The HTML: http://pastebin.com/Esua9fkH

    Thanks Guys!

  2. WPyogi
    Forum Moderator
    Posted 1 year ago #

    Start with the mark-up errors:

    http://validator.w3.org/check?uri=http%3A%2F%2Fwww.allxpats.com%2Fcapetown%2F404;No200=1

    EDIT - BTW, GREAT photo!! LOL!!

  3. ehoanshelt
    Member
    Posted 1 year ago #

    Look at your skin.css style sheet on line 2756

    you will see this:

    .page_404 {
        margin-top: 270px;
        text-align: center;
    }

    Change that margin-top to like 40px or something

  4. charlesleahy
    Member
    Posted 1 year ago #

    Thanks Guys, worked perfect! Cheeers :-)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags