Skip to content

Captions with hyperlinks have a dark colour that's not compatible with the black captions banner - Twenty Twenty One theme #6734

Closed
@jamesozzie

Description

@jamesozzie

Bug Description

When there is a caption with a hyperlink in a gallery block this hyperlink is unreadable when it's displayed as a carousel on AMP URLs. This is only applicable for the Twenty Twenty One theme and was identified by one user in the support forums.

Recording of this experience.

Gif of experience below:

2021-11-22-16-12-19

This is not an issue with the Twenty Twenty or Twenty Nineteen themes, with the hyperlink font color white and underlined. The same approach would be suitable for Twenty Twenty One.

Expected Behaviour

The figcaption color should be more readable.

The below CSS rule works as a temporary solution:

figcaption.amp-wp-gallery-caption a {
    color: #fff;
}

Screenshots

No response

PHP Version

No response

Plugin Version

2.2.0 Alpha

AMP plugin template mode

Standard

WordPress Version

5.8

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

No one assigned

    Labels

    BugSomething isn't workingCSSChangeloggedWhether the issue/PR has been added to release notes.P1Medium priority

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions