Automattic / themes

Free WordPress themes made by Automattic for WordPress.org and WordPress.com.
https://themeshaper.com
GNU General Public License v2.0
900 stars 357 forks source link

Baskerville 2: The value of the content width is wrong #6295

Open arthur791004 opened 2 years ago

arthur791004 commented 2 years ago

Quick summary

The content width of the Baskerville 2 theme is incorrect so the width of the image is smaller than the content width and the image cannot occupy the entire column which looks weird.

Besides, the customer also mentioned this behavior only happened recently and it works well several days ago.

Related to 5427858-zd-woothemeswhich

Steps to reproduce

  1. Switch to Baskerville 2 theme
  2. Create a new post/page
  3. Insert an image block
  4. Preview the page
  5. Check the width of the image

What you expected to happen

The width of the image should be the same as the actual content width, 756px

What actually happened

The width of the image is resized to 736px and doesn't fit the actual content width

Context

No response

Platform (Simple, Atomic, or both?)

Simple, Atomic, Self-hosted

Theme-specific issue?

Baskerville 2

Browser, operating system and other notes

No response

Reproducibility

Consistent

Severity

No response

Available workarounds?

Yes, easy to implement

Workaround details

  1. Navigate to Appearance → Additional CSS
  2. Scroll down to the bottom and set the "Media Width" to "756px"
github-actions[bot] commented 2 years ago

Support References

This comment is automatically generated. Please do not edit it.

Robertght commented 2 years ago

📌 HOUSEKEEPING

📌 SCRUBBING

📌 FINDINGS/SCREENSHOTS/VIDEO

📌 ACTIONS

lizswafford commented 2 years ago

Related to this, (5485427-zen) there is the recommendation to change the wording Customizer > Additional CSS > Media Width to the following:

_Set a different media width for full-size images. Default media width is 736 px.

To align your media perfectly with your text columns, use a value of 756 px or greater._

ccwalburn commented 2 years ago

Adding clarification that the recommendation from 5485427-zen was not specific to Baskerville 2. It is recommended for the verbiage for any theme that has the Media Width field on the Additional CSS screen in the Customizer.

See the ticket conversation for details on the confusion the current verbiage causes.