vigetlabs / wordpress-site-starter

2 stars 0 forks source link

Call to Action #150

Open melissa-reynaud-foley opened 19 hours ago

melissa-reynaud-foley commented 19 hours ago

Component: Call to Action (full-width) Action: Adding a background image Problem: Displays overlapping images in the editor

Notes:

When adding a background image to the Call to Action component, the editor displays 2 overlapping images (you can not see this if the image is positioned in the center).

Overlapping images (centered) - you can't tell there are 2 images: Overlapping-Images-Centered

Background image is displayed correctly on the published page: Correct-Image-Centered

It becomes a problem when the image's position is changed and no longer centered - in this case the position is at the very bottom of the image (although it's hard to see for sure because of the top image over it).

Overlapping images in the editor (position of the image has changed) - you can definitely tell there are 2 images: Overlapping-Images

When published, the bottom image is the one that is displayed (and in the correct position) and the top image does not appear.

Background image is displayed at the correct position on the published page: Correct-Image

URL: https://wpstarter.vigetx.com/phcc/instructions-sandbox/

melissa-reynaud-foley commented 2 hours ago

It also does the same with solid colors with gradients.

Editor view: Overlapping-BG-Graident

Correct published view: Correct-BG-Gradient