Give this a try.
Adjust the width to what you want. Add it to your custom css in the customizer.
main#main.site-main {
width: 1400px;
}
I just tested this on a wider screen. Unfortunately, it does not work.
This should work. Adjust the max-width to the size you want.
body.page .entry .entry-content > *, .entry .entry-summary > * {
max-width: 1200px;
}
/* Blog Pages * /
.entry .entry-content p {
max-width: 1200px;
}
Some of the content on the pages does not get wider.
For example the ol and li sections. I can not figure out how to make them wider.
If you run that down let me know.
-
This reply was modified 7 years, 2 months ago by
Wild Jim.
-
This reply was modified 7 years, 2 months ago by
Wild Jim.
-
This reply was modified 7 years, 2 months ago by
Wild Jim.
-
This reply was modified 7 years, 2 months ago by
Wild Jim.
-
This reply was modified 7 years, 2 months ago by
Wild Jim.
Thread Starter
stalyn
(@stalyn)
Didn’t work. But thank you.
It worked on our site.
Did you use both codes?
Here
/* Blog Pages */ < this had a space and shut down the code for the blog pages.
body.page .entry .entry-content > *, .entry .entry-summary > * {
max-width: 1200px;
}
/* Blog Pages */
.entry .entry-content p {
max-width: 1200px;
}
-
This reply was modified 7 years, 2 months ago by
Wild Jim.
-
This reply was modified 7 years, 2 months ago by
Wild Jim.
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
@stalyn, Can you provide a link to the page that you want the content width changed? As Jim mentioned, it worked on his site and there’s not a lot we can do to debug your issue.
Joy
(@joyously)
There is a filter for changing it in the code, which affects the images.
$GLOBALS['content_width'] = apply_filters( 'twentynineteen_content_width', 640 );