I want to remove a logo for my home page only, and also change where the logo links to which is currently the homepage. My site uses page template to place a logo at the bottom of each page. It's not in the footer, rather in the content-page.php:
<div class="entry-content">
<?php the_content(); ?>
<?php wp_link_pages( array( 'before' => '<div class="page-links">' . __( 'Pages:', 'twentytwelve' ), 'after' => '</div>' ) ); ?>
</div>
<div style="clear:both;"><a>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><img src="http://www.sitename.com/wp-content/uploads/2013/07/logo.jpg" align="left" style="margin-left:4em;border:none;box-shadow:0;" /></a> </div><!-- .entry-content -->
[Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum's parser.]
I've tried using css to change, but it's not specific enough to target the logo only. It actually removed everything but the logo. Here's the css I used:
.home .entry-content {
display: none;
}
Please help. Thank you.