Support » Themes and Templates » WP-admin bar

Viewing 4 replies - 1 through 4 (of 4 total)
  • 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.

    Thread Starter egilarntzen

    (@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…

    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.

    Thread Starter egilarntzen

    (@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 ‘WP-admin bar’ is closed to new replies.