Automattic / themes

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

Varia and child themes: Theme overrides photo border color #6672

Open ha-un opened 2 years ago

ha-un commented 2 years ago

Quick summary

When an image has a set border color and width on a page, it is not reflected on the live view and displays the theme's set colors.

Steps to reproduce

  1. Create a new site
  2. Activate the Hever theme
  3. Insert a new image block in a page & upload an image
  4. Set a border color
  5. Update page

What you expected to happen

To show the border color selected on the page.

Screen Shot 2022-10-12 at 2 03 17 PM

What actually happened

Shows one of the theme's colors defined in the Customizer.

Screen Shot 2022-10-12 at 2 03 29 PM

Context

When switching a theme, the border color is reset.

When the border color is set on a different theme, the color stays (e.g. Twenty Twenty-Two):

Screen Shot 2022-10-12 at 2 08 14 PM

When switched back to Hever, the border color in settings resets, but the color seems to stay:

Screen Shot 2022-10-12 at 2 09 32 PM

Platform (Simple, Atomic, or both?)

Simple, Atomic

Theme-specific issue?

Yes, on Hever.

Browser, operating system and other notes

No response

Reproducibility

Consistent

Severity

No response

Available workarounds?

Yes, easy to implement

Workaround details

  1. Change to a different them (e.g. Twenty Twenty-Two)
  2. Set the border colors in the images again
  3. Switch back to Hever
kavyagokul commented 2 years ago

๐Ÿ“Œ SCRUBBING : RESULT

๐Ÿ“Œ FINDINGS/SCREENSHOTS/VIDEO

๐Ÿ“Œ ACTIONS