[wp-trac] [WordPress Trac] #41189: Twenty Seventeen images are possibly not adhering to content_width

WordPress Trac noreply at wordpress.org
Sat Feb 17 02:10:21 UTC 2018


#41189: Twenty Seventeen images are possibly not adhering to content_width
----------------------------+------------------------------
 Reporter:  michaelarestad  |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Bundled Theme   |     Version:  4.8
 Severity:  normal          |  Resolution:
 Keywords:                  |     Focuses:
----------------------------+------------------------------

Comment (by laurelfulford):

 Thanks for reporting this, @michaelarestad!

 I might be mistaken, but I think this is the expected behaviour with
 anything that uses `$content_width` -- I can recreate the same thing with
 other themes, like Twenty Fifteen & Twenty Sixteen.

 Depending how the column width is being changed with CSS, it should also
 be possible to update the `$content_width`. If it's being done in the
 Additional CSS panel in the Customizer, there's a field underneath called
 Media Width where you can add your own value that will override the
 theme's `$content_width`:

 [[Image(https://cldup.com/c4w5Nnesfi-2000x2000.png)]]

 Or if the column width is being changed via a child theme, the
 `$content_width` could be changed in the child theme.

 Would either of these options take care of the issue you're looking at?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/41189#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list