Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Guillaume Assire

    (@alphagolf_fr)

    You may have commented out the call to add_theme_support already, as I don’t see its CSS in the source code of your test site. Otherwise you could also try to add to your functions.php:
    add_theme_support( 'admin-bar', array( 'callback' => '__return_false' ) );

    I thought it would be neat to use this WP function but am realizing it may conflict with some themes. Let’s spend one night or two on this and see what the best option is.

    Thread Starter Paul Bursnall

    (@style960)

    No need to test – the addition above to functions.php solved the problem and removed the offset 🙂

    Thanks for your help.

    Thread Starter Paul Bursnall

    (@style960)

    Hi back again with this problem.

    If I add the function, the margin is correct when logged in, but is not added when logged out, forcing the toolbar to mask part of the header.

    If I remove the function the toolbar no longer masks part of the header when logged-out, but there is a 32px high gap between the toolbar and header when logged-in.

    There must be a happy medium to this?

    Thanks,
    Paul.

    Plugin Author Guillaume Assire

    (@alphagolf_fr)

    Sorry for the rather long delay in responding, I’ve been busy with other matters.

    Simply put – was it working with v29 of the plugin ?

    Thread Starter Paul Bursnall

    (@style960)

    Hi, yeah it’s fine with v29.

    Plugin Author Guillaume Assire

    (@alphagolf_fr)

    Sorry for the rather long delay in following up. With the development version, available from here, I’ve reverted to what was implemented in v29. I would appreciate if you could give it a try just to confirm.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Margin Offset’ is closed to new replies.