Support » Fixing WordPress » Add iframe into header?

Viewing 4 replies - 1 through 4 (of 4 total)
  • go to theme editor and open header.php file in that find this line of code

    <div id=”searchbar”><?php get_search_form() ?></div>
    </div><!– #branding –>
    </div><!– #header –>

    and below that code paste this

    <div align=”center”><iframe src=”http://espn.go.com/bottomline/espnewsbottomlinebasic.html” name=”ESPN” scrolling=”auto” frameborder=”no” align=”middle” height = “44px” width = “860px”></iframe></div>

    and you’re done 😉

    OMG.. Thank you..

    <div class="logo"><div style="align:center">
    		<?php if ( is_home() || is_front_page() ) : ?>
    		<h1 class="blog-name"><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></h1>
    		<h2 class="blog-description"><?php bloginfo('description'); ?></h2>
    		<?php else: ?>
    		<span class="blog-name"><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></span>
    		<span class="blog-description"><?php bloginfo('description'); ?></span>
    		<?php endif ?>
    		<iframe src="http://espn.go.com/bottomline/espnewsbottomlinebasic.html" name="ESPN" scrolling="auto" frameborder="no" align="center" height = "44px" width = "860px"></iframe>
    	</div>

    I’ve got it exactly where I want it now.. I just cant figure out how to center the frame with the logo.. Above is where I have the “center html”. I tried putting it right in front of the iframe, moved it up there, tried using <center>.. But it always stays aligned to the left..

    Once again thanks for your help!!

    Nevermind. Figured it out.. Thanks again.

    you’re welcome 🙂 just edit your post and make it [resolved]

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Add iframe into header?’ is closed to new replies.