WordPress.org

Ready to get started?Download WordPress

Forums

Twenty Fourteen
[resolved] page is not centered or full-width on 1260px larger screen (6 posts)

  1. Pete Houston
    Member
    Posted 8 months ago #

    I've run the 20-14 theme on HDTV screen size (1080p - 1920x1080 - ratio: 16:9), and the page width is limited at 1260px on body.

    Anyone has the fix to center the page or make the page 100% full-width on all screen sizes?

  2. Infos
    Member
    Posted 8 months ago #

    Try

    #page {
    margin-left: auto;
    margin-right: auto;
    }

    in a child theme to center the page.

  3. Pete Houston
    Member
    Posted 8 months ago #

    @Infos: ah, right...I miss that property. Thanks for helping.

  4. John Hart
    Member
    Posted 8 months ago #

    Nice work Infos, thanks for posting

  5. Mandrake7062
    Member
    Posted 6 months ago #

    Infos,
    Where do I add that script?

    thanks

  6. John Hart
    Member
    Posted 6 months ago #

    Hi Mandrake7062,

    Go to wp-content/themes/twentyfourteen/style.css You might add something to remind yourself what you did

    /* My CSS changes are below */
    
    #page {
    margin-left: auto;
    margin-right: auto;
    }

    The safest way to add custom css code to your wordpress installation is with a plug-in like this one

    - JH

Reply

You must log in to post.

About this Theme

About this Topic