Wordpress Header

Sam!

Resident
Joined
Dec 16, 2008
Messages
708
Reaction score
0
FP$
6
At Movie Estate, I want to add my RSS and Twitter buttons in the header, opposite the page links. However, when I put the code into header.php, it always ends up being too high and too far to the left.

Code:
<div id="wrapper">

    <div id="masthead">

 <ul>

        <li <?php if(is_front_page()) { ?>class="current_page_item"<?php } ?>><a href="<?php echo get_option('home'); ?>/">Home</a></li>
        <?php wp_list_pages('sort_column=menu_order&title_li=' ); ?>

      </ul>
        
      <div id="masthead_image">

<a href="<?php echo get_option('home'); ?>/"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/masthead.png" alt="Movie Estate" /></a>
        
      </div>
      
    </div>
That's the code I'm dealing with. The masthead div is where the links are kept, and I need help - will I have to add something into the CSS? The theme I'm using is Tropicala.
 
You will probably have to align it using CSS. No doubt about it. Lots of times though, Wordpress themes automatically come with Twitter and RSS buttons, maybe try a new theme?
 
Try this .

go into your css and make a new class.

and put this -

.newclass {
float: left;
width: auto;
height: auto;
}

then in the html put -

<div class="newclass> insert your twitter button and rss button code </div>

That should get it .

If it doesn't just post a pic of where it is and a circle where you want it.
 
Back
Top Bottom