Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author hawkeye126

    (@hawkeye126)

    You can put a margin-top of 28px on the #access div:

    .admin-bar #access {margin-top:28px;}

    or move the admin bar to the bottom:

    body.admin-bar {
            margin-top: -28px;
            padding-bottom: 28px;
        }
    
        #wpadminbar {
            top: auto !important;
            bottom: 0;
        }
    
        #wpadminbar .quicklinks>ul>li {
            position:relative;
        }
    
        #wpadminbar .ab-top-menu>.menupop>.ab-sub-wrapper {
            bottom:28px;
        }

    Thanks for using the plugin!

    Thread Starter stof7

    (@stof7)

    That’s it, thanx a lot.

    I feel a bit stupid to not have thought of that.

    Btw it works great on a private WP 4.0 site too.

    Thread Starter stof7

    (@stof7)

    Hello again,

    the first solution is not that good because until the sticky menu isn’t “in action”, there is a 28px gap between the main nav and the slider.

    So I’m with your second solution,

    please let me know if you find something else to have both on top of the page.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Problem when using the plugin with the WP admin bar’ is closed to new replies.