WordPress.org

Ready to get started?Download WordPress

Forums

How can I make my web page fill the whole screen? (7 posts)

  1. pjhk
    Member
    Posted 1 year ago #

    Hello,

    I've created a twentyeleven child theme to edit my website but now my webpages no longer fill the whole screen.

    My website: http://preetijha.co.uk/

    Is there a way I could do this?

    Any help would be much appreciated!

    Thanks,

    Preeti

  2. Andrew Nevins
    Barrel Rider, Spam Zapper & Volunteer Moderator
    Posted 1 year ago #

    Remember to transfer changes you've made to Twenty Eleven, into your Child Theme. It seems as though you still have a modified style on line 195 of Twenty Eleven style.css.

    To find which CSS is applying which styles, try a Browser Inspector Tool.

  3. pjhk
    Member
    Posted 1 year ago #

    Thanks for replying. I had transferred changes to my child theme I think. Afraid I don't understand what you mean by the browse inspector tool. Is there a code I can put into my child theme style.css which would make the site fill the page?

  4. Andrew Nevins
    Barrel Rider, Spam Zapper & Volunteer Moderator
    Posted 1 year ago #

    Yes, look at the width CSS property.

  5. pjhk
    Member
    Posted 1 year ago #

    Sorry, I am a complete novice and nothing I've tried (including copying over the structure code from twentyeleven into the child theme) seems to make a difference.

    Is there anything you could suggest typing into the child theme style.css that would make the page fill the screen (as the usual twentyeleven page).

    Many thanks.

  6. pjhk
    Member
    Posted 1 year ago #

    Hello. I'm still trying to solve this problem. In the meanwhile I added a background to my website front page so that it wasn't floating in a big sea of empty white. Is there anyone who could help me make the page fill the screen? Thank you.

  7. pjhk
    Member
    Posted 1 year ago #

    In trying to solve this myself I deleted my child theme to start from scratch once again but see that I can't get rid of the TwentyEleven changes I'd started.

    So now the 'Search', 'Recent Posts' and 'Powered by WordPress' sections that I'd removed have returned. Just passing this on for info, for whoever can help me!

Topic Closed

This topic has been closed to new replies.

About this Topic