WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] How to remove empty space to left of sheet (4 posts)

  1. d.ban_2_3
    Member
    Posted 4 years ago #

    Hi everyone,
    Please can somebody offer advice on how I go about shifting the website content to the left so there is no vertical gap?

    Many thanks!

  2. Rev. Voodoo
    Volunteer Moderator
    Posted 4 years ago #

    #rap {
    	background-color: #FFFFFF;
    	width: 800px;
    	height: 100%;
    	padding: 5px;
            margin: 0 auto 0 auto;
    }

    in your style.css, looks like the margins here control centering your page

    so changing that to something like: margin: 0 0 0 10px; would left align the page (adjust that 10px as needed, 0 is no gap, but that would press your content to the very edge of the screen, figured a small buffer would be good)

  3. d.ban_2_3
    Member
    Posted 4 years ago #

    thank you RVoodoo.
    That sorted it!

  4. Rev. Voodoo
    Volunteer Moderator
    Posted 4 years ago #

    Nice! And thanks for marking the thread resolved!

Topic Closed

This topic has been closed to new replies.

About this Topic