Automattic / themes

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

Twenty Twenty-One: Site branding and navigation overlapping ads on mobile #6659

Open anuguywp opened 1 year ago

anuguywp commented 1 year ago

Quick summary

siteheaderads

You will notice in the image that the site logo and menu on mobile is rending in front of the ad at the top of the site. This is because of an absolute positioning that gets added under 481px width

Steps to reproduce

  1. View site on actual mobile device.

What you expected to happen

The site logo and menu should be positioned underneath the ad.

What actually happened

You will notice in the image that the site logo and menu on mobile is rending in front of the ad at the top of the site.

Context

No response

Platform (Simple, Atomic, or both?)

Atomic

Theme-specific issue?

Twenty Twenty-One

Browser, operating system and other notes

No response

Reproducibility

Consistent

Severity

One

Available workarounds?

Yes, easy to implement

Workaround details

In order to provide the user with a solution, we provided the user with CSS to add to their Additional CSS:

@media only screen and (max-width: 481px) {
    .site-branding {
        position: relative;
    }
    .primary-navigation {
        position: unset;
    }
}
anuguywp commented 1 year ago

5598698-zen

github-actions[bot] commented 1 year ago

Support References

This comment is automatically generated. Please do not edit it.

jamiepalatnik commented 1 year ago

📌 SCRUBBING : RESULT

📌 FINDINGS/SCREENSHOTS/VIDEO

Ads on Twenty Twenty-One

📌 ACTIONS