Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issue with banner ads on fronts not matching their appearance on DCR-rendered pages #26888

Merged
merged 1 commit into from
Feb 8, 2024

Conversation

i-hardy
Copy link
Contributor

@i-hardy i-hardy commented Feb 7, 2024

What does this change?

This adds a background colour to banner ad slots on frontend-rendered fronts to match their appearance on pages rendered with DCR. It also adds a z-index to hide the faux borders on the left and right of the page.

Screenshots

DCR appearance

Screenshot 2024-02-07 at 15-43-50 News sport and opinion from the Guardian's global edition The Guardian

Fully in line with DCR

Before After
Screenshot 2024-02-07 at 15-38-44 Education news opinion and guides The Guardian Screenshot 2024-02-07 at 12-51-28 Education news opinion and guides The Guardian

Avoiding z-index changes

Before After
Screenshot 2024-02-07 at 15-38-44 Education news opinion and guides The Guardian Screenshot 2024-02-07 at 12-50-52 Education news opinion and guides The Guardian

@i-hardy i-hardy requested a review from a team as a code owner February 7, 2024 15:52
Copy link
Contributor

@mxdvl mxdvl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@i-hardy i-hardy merged commit f89e76a into main Feb 8, 2024
2 checks passed
@i-hardy i-hardy deleted the ih/front-banner-ad-background branch February 8, 2024 11:00
@prout-bot
Copy link
Collaborator

Seen on ADMIN-PROD (merged by @i-hardy 11 minutes and 15 seconds ago)

@prout-bot
Copy link
Collaborator

Seen on FRONTS-PROD (merged by @i-hardy 11 minutes and 28 seconds ago)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants