WordPress.org

Ready to get started?Download WordPress

Forums

Admin bar doesn't appear correctly... (10 posts)

  1. Panoravu
    Member
    Posted 1 year ago #

    I made a few modifications to the admin bar, but the problem I'm about to describe is universal I think.

    When the browser window is smaller than the width of the page, part of the admin bar is hiding. Although there is the horizontal scroll bar, it does not affect the admin bar... :/

    Please, see for yourselves... http://www.panoravu.com

    Any thoughts??

  2. Panoravu
    Member
    Posted 1 year ago #

    Oh, I hate posting again and again... Especially if I'm talking alone... :/

    Nobody has any answer? Not even the developers of WordPress?

    Please guys. I really need your help!!

  3. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    I made a few modifications to the admin bar

    What changes?

  4. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

  5. Panoravu
    Member
    Posted 1 year ago #

    What changes?

    I changed the height & color, I deleted a few links & menus, I placed my own logo and a plugin for logging in. But most importantly, I changed the width to match the width of the page. That's when I noticed the problem described in the first post.

    Have you looked at the errors?

    WOW! A lot of errors!! :O
    Thank you for these links! At first glance, most of the errors are located in files that I haven't modified (core files of the theme I use). But I'll check it thoroughly in the morning with a clear mind (it's almost 4am here) and I'll come back to you.

    In the meantime, more responses are welcome... :)

  6. Panoravu
    Member
    Posted 1 year ago #

    I contacted my theme's developer for the errors in the theme's files and he said that the errors are the CSS3 properties and the browser prefixes and that these are used for the browser compatibility, so there's nothing to worry about.

    Now, for the errors and warnings in the admin bar's files, I have no idea what they mean... Here they are:

    URI : https://www.panoravu.com/wp-includes/css/admin-bar.min.css?ver=3.5.1

    Feature -o-min-device-pixel-ratio doesn't exist for media null ),(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){#wpadminbar .menupop .menupop>.ab-item,#wpadminbar .ab-top-secondary .menupop .menupop>.ab-item,#wpadminbar #adminbarsearch .adminbar-input,#wp-admin-bar-wp-logo>.ab-item .ab-icon,#wp-admin-bar-updates>.ab-item .ab-icon,#wp-admin-bar-comments>.ab-item .ab-icon,#wpadminbar #wp-admin-bar-new-content>.ab-item .ab-icon{background-image:url(../images/admin-bar-sprite-2x.png?d=20120830);background-size:20px 220px}#wpadminbar .quicklinks li div.blavatar{background:url('../images/wpmini-blue-2x.png') no-repeat;background-size:16px 16px}}

    URI : https://www.panoravu.com/wp-content/plugins/admin-bar-login/admin-bar-login.css?ver=0.1

    Property -webkit-border-radius is an unknown vendor extension
    Property -moz-border-radius is an unknown vendor extension
    Property -webkit-border-radius is an unknown vendor extension
    Property -moz-linear-gradient(bottom,#bbb,#ddd) is an unknown vendor extension
    Property -webkit-gradient(linear,left bottom,left top,from(#999),to(#bbb)) is an unknown vendor extension
    Property -moz-box-shadow is an unknown vendor extension
    Property -webkit-box-shadow is an unknown vendor extension

    URI : https://www.panoravu.com/wp-includes/css/admin-bar.min.css?ver=3.5.1

    Property -webkit-box-sizing is an unknown vendor extension
    Property -moz-box-sizing is an unknown vendor extension
    Property -webkit-gradient(linear,left bottom,left top,color-stop(0,#373737),color-stop(18%,#464646)) is an unknown vendor extension
    Property -webkit-linear-gradient(bottom,#373737 0,#464646 5px) is an unknown vendor extension
    Property -moz-linear-gradient(bottom,#373737 0,#464646 5px) is an unknown vendor extension
    Property -o-linear-gradient(bottom,#373737 0,#464646 5px) is an unknown vendor extension
    Property -webkit-box-shadow is an unknown vendor extension
    Property -webkit-gradient(linear,left bottom,left top,from(#3a3a3a),to(#222)) is an unknown vendor extension
    Property -webkit-linear-gradient(bottom,#3a3a3a,#222) is an unknown vendor extension
    Property -moz-linear-gradient(bottom,#3a3a3a,#222) is an unknown vendor extension
    Property -o-linear-gradient(bottom,#3a3a3a,#222) is an unknown vendor extension
    Property -webkit-box-shadow is an unknown vendor extension
    Property -webkit-border-radius is an unknown vendor extension
    Property -webkit-gradient(linear,left bottom,left top,color-stop(0,#373737),color-stop(18%,#464646)) is an unknown vendor extension
    Property -webkit-linear-gradient(bottom,#373737 0,#464646 5px) is an unknown vendor extension
    Property -moz-linear-gradient(bottom,#373737 0,#464646 5px) is an unknown vendor extension
    Property -o-linear-gradient(bottom,#373737 0,#464646 5px) is an unknown vendor extension
    Property -webkit-box-shadow is an unknown vendor extension
    Property -webkit-border-radius is an unknown vendor extension
    Property -webkit-box-shadow is an unknown vendor extension
    Property -moz-box-sizing is an unknown vendor extension
    Property -webkit-box-sizing is an unknown vendor extension
    Property -ms-box-sizing is an unknown vendor extension
    Property -webkit-transition-duration is an unknown vendor extension
    Property -webkit-transition-property is an unknown vendor extension
    Property -webkit-transition-timing-function is an unknown vendor extension
    Property -moz-transition-duration is an unknown vendor extension
    Property -moz-transition-property is an unknown vendor extension
    Property -moz-transition-timing-function is an unknown vendor extension
    Property -o-transition-duration is an unknown vendor extension
    Property -o-transition-property is an unknown vendor extension
    Property -o-transition-timing-function is an unknown vendor extension
    ::-webkit-input-placeholder is an unknown vendor extended pseudo-element
    :-moz-placeholder is an unknown vendor extended pseudo-class
    Property -webkit-box-shadow is an unknown vendor extension

    Or you can check the links WPyogi posted...

    Can you please help me to understand these errors and resolve them?

    Are these errors the reason that the admin bar doesn't appear correctly??

  7. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    you don't seem to be referring to the 'default' WordPress adminbar - http://codex.wordpress.org/Glossary#Admin_Bar

    is that a plugin you are using for the 'topbar'?

    I don't think that fixed positioned elements are reacting to the browser window width; possibly try to use @media queries in the styles to shrink the topbar (?)

  8. Panoravu
    Member
    Posted 1 year ago #

    Yes, I'm referring to the default WP admin bar! I just use the "top bar" plugin to fill the sides of the page and make it look like the top bar of facebook. Even if I disable this plugin, the problem still exists. I will disable it right now for you to see...

  9. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    Yes, I'm referring to the default WP admin bar!

    what I mentioned about the formatting earlier is still valid -

    just as comparison, the default adminbar (the black one only visible for logged-in users) does react to the browser width within limits;

    it seems to be more an issue with the 'admin-bar-login' plugin's 'adminbar';
    does the developer of the plugin http://wordpress.org/support/plugin/admin-bar-login have any suggestions?

  10. Panoravu
    Member
    Posted 1 year ago #

    It has not to do with the plug in. I've checked... The bar is always visible because I use BuddyPress I guess. The problem started since I changed the width. Here's the code:

    #wpadminbar {
    width: 940px;
    margin: 0 0 0 -470px;
    left: 50%;
    }

    Can you see any flaw? Is there a better way to do it?

Topic Closed

This topic has been closed to new replies.

About this Topic