WordPress.org

Support

Support » Themes and Templates » [Resolved] WP-admin bar

[Resolved] WP-admin bar

Viewing 4 replies - 1 through 4 (of 4 total)
  • Missy Oveson
    Participant

    @missybunnie

    Just curious but who is going to be logged in at the time that the menu is showing? If your users won’t be logged in then it shouldn’t be a problem because it appears as I assume you want it when I go there. If the users do log in you may need to add some contingencies to change the design if the user is logged in.

    egilarntzen
    Member

    @egilarntzen

    Thanks for your reply!

    This site is for a client. And he was bothered about it. So I might as well just fix it…

    Missy Oveson
    Participant

    @missybunnie

    Yeah I’d use <?php if ( is_user_logged_in() ) { … } ?> and just put a style tag in true. Maybe just notch it down a little with a margin or create a top padding. This should allow you to make the changes if the bar is there.

    egilarntzen
    Member

    @egilarntzen

    Put this in my header.php:

    <?php if ( is_user_logged_in() ) { ?>
    <style  type="text/css" media="screen">
    #slider { padding-top:23px;!important; }
    </style>
    <?php } ?>

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] WP-admin bar’ is closed to new replies.