• Resolved zwene

    (@zwene)


    Great plugin. πŸ™‚

    Can you have a look at the height of the admin bar in the frontend? If you are logged in you get 28px height if selected, but if you are logged out and have admin bar turned on, the admin bar height is 32px and not 28px height. πŸ™

    https://ww.wp.xz.cn/plugins/admin-classic-borders/

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Andy Mercer

    (@kelderic)

    I’m glad you like it! I’ve never thought about having it turned on while not logged in, but I’ll look into it.

    Thread Starter zwene

    (@zwene)

    Yes, I like it. πŸ™‚

    I’m admin of a homepage with 400 – 600 visitors per day – in frontend. They are logging in with login forms in front end admin bar (thanks to WordPress Admin Bar Improved) and with the help of a little functions.php and your plugin I think I can update to the newest WordPress after month. πŸ™‚

    Plugin Author Andy Mercer

    (@kelderic)

    I think I’ve figured out how to do this, so either tonight or tomorrow I’d like to get an update out.

    Thread Starter zwene

    (@zwene)

    Thank you. I’m glad to test the new version if available. πŸ™‚

    Plugin Author Andy Mercer

    (@kelderic)

    Sorry, it’s been a few days longer than I’d planned. Real life is really hectic at the moment and I’ve been working late. This is still on my list, I promise.

    Plugin Author Andy Mercer

    (@kelderic)

    I think I’ve got it working on my local site. I can’t upload a new version to the repository until tonight, though. If you’d like to test right now, you can either download a temp 1.4.9 version from:

    http://www.andymercer.net/hosted/admin-classic-borders.zip

    Or:

    In the components/main.php file of the plugin, there are two times that is_user_logged_in() is called. Change both of those to is_admin_bar_showing().

    The only site that I have to test here has admin bar hidden on the front end entirely, so I can’t test, but this should work.

    snih

    (@snih)

    (snih = office account from zwene)

    Hi Andy,

    thank you, the test version works fine. The admin bar is now 28 px in front- and backend. πŸ™‚

    By testing with no other admin bar plugins installed I found a little bug, I think: The search form hasn’t changed it’s height, so she’s a little bit to big and not centered on the bar any more.

    View post on imgur.com

    Greetings,
    zwene

    Plugin Author Andy Mercer

    (@kelderic)

    I just pushed v1.5, with all the changes discussed here including the search form bug you reported. Thanks for that! I never use search so I didn’t even notice. Thanks for the help, I mentioned it in the changelog. (Would you prefer to be referenced there by snih or zwene?)

    snih

    (@snih)

    Thank you, now all is fine. And snih is ok, too. πŸ™‚

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Admin Bar height in frontend’ is closed to new replies.