Skip to content

Feature image stretched on Legacy theme, when native image is being used. #7550

@milindmore22

Description

@milindmore22

Bug Description

I received a few support topics topic 1 and topic 2 where use experience images being stretched on mobile devices.

I am able to reproduce the issue on my local.

We can prevent this by adding CSS

figure.amp-wp-article-featured-image img {
    height: auto;
}

Expected Behaviour

Feature image in legacy theme working correctly on mobile and tablet devices

Screenshots

image

PHP Version

No response

Plugin Version

2.4.1

AMP plugin template mode

Reader

WordPress Version

6.2.2

Site Health

No response

Gutenberg Version

No response

OS(s) Affected

No response

Browser(s) Affected

No response

Device(s) Affected

No response

Acceptance Criteria

No response

Implementation Brief

No response

QA Testing Instructions

No response

Demo

No response

Changelog Entry

No response

Metadata

Metadata

Assignees

Labels

BugSomething isn't workingChangeloggedWhether the issue/PR has been added to release notes.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions