Is there a way to when logged in have the banner on my page move down so many specified pixels?
This is what it looks like when I'm logged in (as of course the dashboard bar at the top is there and pushes almost everything down (except my banner as it's absolutely positioned).

And of course this i what it looks like when I'm not logged in.

I looked on the wordpress codex and found this snippet of code
<?php
if ( is_user_logged_in() ) {
echo 'Welcome, registered user!';
} else {
echo 'Welcome, visitor!';
}
?>
So I attempted to use it and tried to tell wordpress if the user is logged in show this banner with this styling, else show the other banner with that styling. However as I'm not a programmer this is all I got.
<?php
if ( is_user_logged_in() ) {
<?php the_post_thumbnail();?>
<?php if (function_exists('dynamic_sidebar') && dynamic_sidebar('banner-widget')) : else : ?>
<p><img class="banner" src="<?php bloginfo('template_directory') ?>/img/BANNER1-averylawoffice.jpg" alt="Banner 1"></p>
<?php endif; ?>
} else {
<?php the_post_thumbnail();?>
<?php if (function_exists('dynamic_sidebar') && dynamic_sidebar('banner-widget')) : else : ?>
<p><img class="h3-banner" src="<?php bloginfo('template_directory') ?>/img/BANNER1-averylawoffice.jpg" alt="Banner 1"></p>
<?php endif; ?>
}
?>
But it doesn't work. Of course.
So what can I do to have this banner move down when a user is logged in? Am I on the right track, just missing something?