You are here: Sysadmins of the North » Web applications » WordPress » How to make Twenty Seventeen theme full width in WordPress

How to make Twenty Seventeen theme full width in WordPress

The default WordPress theme Twenty Seventeen’s content width can be easily changed to full width. All you need is this bit of CSS. To make Twenty Seventeen full width in WordPress, add the following CSS to your theme’s CSS file, or in Customizer’s Additional CSS:

.wrap {
	max-width: 100%;
@media screen and (min-width: 48em) {
	.wrap {
		max-width: 100%;
} #primary {
	max-width: 100%;

@media screen and (min-width: 30em) {
	.page-one-column .panel-content .wrap {
		max-width: 100%;
}Code language: CSS (css)

You can adjust the 100% values. Set these to 90% for example for a 90% main content width.

Show Your Support

donate with Paypal

If you want to step in to help me cover the costs for running this website, that would be awesome. Just use this link to donate a cup of coffee ☕($10 USD or €10 EUR for example). And please share the love and help others make use of this website. Thank you very much! <3 ❤️

36 thoughts on “How to make Twenty Seventeen theme full width in WordPress”

  1. Great! Imagine, just searching for an issue, getting answer in just some seconds, copy the CSS-code into the settings, and, voila, fixed!

    WordPress is amzing! Thank you!

    Best regards Joacim,

  2. This is great, but for me in my blog it doesn’t enlarge the size of the images to fill the new width of the text.

    Is there some way of expanding the width of the images too?

  3. Hi Jan, Your tip for the full widt worked great but I have anoter question..
    I would like to shrink the width of the ‘page name’ so that my widget section on the right becomes bigger.

    Is that possible?

    Kind regards, Frederic

  4. What an excellent tip, thanks!
    How would I move the menu titles to the left, so that they match up with my site title?

  5. Oh my goodness, thank you so much for this. The narrowness of the content presentation was getting on my nerves. I changed “twentyseventeen” to “twentynineteen” and it did just what I wanted it to. Thank goodness.

  6. For support with the Evolve theme you’d have to contact the developers of the theme. This post is only about making Twenty Seventeen full width in WordPress.

  7. I am having an issue on an evolve them website where the content is appearing squished and centered, how can I fix this?

  8. Hi. You can apply this modification just inserting the CSS tag “article#post-ID” before any .wrap or .page, where you need to set the page id number at the place of ID, like the example:

    article#post-7 .wrap {

    max-width: 100%;


    @media screen and (min-width: 48em) {
    article#post-7 .wrap {
    max-width: 100%;


    article#post-7 #primary {

    max-width: 100%;

    @media screen and (min-width: 30em) {
    article#post-7 .page-one-column .panel-content .wrap
    max-width: 100%;

    To retrieve the ID number of the page, just go to modify the single page and look to its URL: the ID is the number after /post.php?post=
    In the following example, the ID is the number 7

  9. This will extend the size of the menu bar.
    .navigation-top .wrap {
    max-width: 99%;

  10. Now if only someone would provide a tip on how to do this on a single page.

  11. Put these codes in style.css file

    #primary .entry-content {
    width: 100% !important;

  12. Is there a way to do CSS change for a fill width, but not for the whole website, rather just 1 page?

  13. This is brilliant but doesn’t quite get me where I need to be due to images. Is there maybe a way to keep the two-column format but make use of the first column? In other words, right now, column one is for nothing but the page title and the first footer while column two takes up a ton of scroll space holding all the copy. Is it possible to make column one hold the featured image while column two holds the copy?

  14. Hello,

    very useful, thank you! It works very well for the content area :)

    But the menu-bar will remain “shrunk” in case it contains lots of items. Could someone please provide a rule to add to the ones above that will also “strech” the menu-bar to full width?

    Thank you so much guys and have a lovely day :)

  15. Erin Morey

    Yay! Problem solved in like two seconds! I wish I would have stumbled across this post hours ago, lol! I was resigned to changing out my theme altogether (clearly I’m new at this), which I feel like would have been a nightmare, starting nearly from scratch just to get rid of the excess negative space! Thanks a million!!

  16. THANK YOU! Other people kept advising to install widgets and it got too complicated. This is great!

  17. Hi Janr!
    This is a brilliantly easy solution for creating full width content pages in TwentySeventeen. I’ve chased this issue for two days and found several options that don’t work, or are too complex to implement.
    Thanks greatly,


  18. Hi,
    Thanks for sharing the useful information.

    I have tried the code but it doesn’t change the width for Blog and Category pages although it worked for the rest of pages.
    Can you please share the updated code?

  19. Hi Janr,
    Thanks a lot for this piece of code, that’s exactly what I was looking for :))
    Bye & thanks for sharing,

  20. Hi,
    In fact, there is still a problem : when you add an image on a page. If this image is more longer than the old width page, wordpress will be resize the image automatically.
    For now, i didn’t found the solution.

  21. Hi JanE, thank you very much for this piece of code, it has helped me a lot.
    Do you know how I can do so that only the width of the main page was modified?

  22. Hi, your solution comes close to what I need, but not quite. I am trying to make my pages one-column. The Twenty Seventeen theme currently has pages set to two columns, which wastes a lot of the space I want to use. Is there a way to keep the current page width, but convert the 2-columns to 1? Thanks!

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top