Skip to content
This repository has been archived by the owner on Sep 16, 2019. It is now read-only.

Adminbar overlaps mobile menu when width < 600px #8

Closed
rousseauxy opened this issue Mar 4, 2014 · 1 comment
Closed

Adminbar overlaps mobile menu when width < 600px #8

rousseauxy opened this issue Mar 4, 2014 · 1 comment

Comments

@rousseauxy
Copy link

Issue with this mediaquery i think: media="all" @media screen and (max-width: 600px)

Removing #wpadminbar {position: absolute;} in admin-bar.min.css seems to resolve this issue. Haven't had any other issues by removing this.

@olefredrik
Copy link
Owner

Hi,

Thanks for posting this issue. Because I want to keep FoundationPress as clean as possible, I will not add any styling in the theme that override the WordPress core (wp-includes/css /).

Those who want can add this snippet that will fix the problem. Just put the following in e.g the site/_structure.scss file

@media screen and (max-width: 600px) {
    #wpadminbar {
        position: fixed !important;
    }
}

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

No branches or pull requests

2 participants