• Sarah

    (@designdonewell)


    Hi! I am modifying a child theme for someone, and have been able to change the main blog page header as they requested. I also was asked to make this header the same for all the posts. Because the blog page is based off of a child theme, I’m having problems adjusting it.

    Basically, I can’t figure out how to remove the “sign art” image from the header on the post pages:
    http://barerootstudio.com/2011/08/how-alcohol-can-spark-your-sign-painting-career/

    Need it to look like this:
    http://barerootstudio.com/blog/

    Thought I had it figured out by modifying the header.php file, but then the format of the blog page (for all listings) broke.

    Single.php code:

    <div class="banner">
     </div>
        <div align="center">
     <a href="http://barerootstudio.com" title=""><img src="http://barerootstudio.com/wp-content/uploads/2011/06/barerootpeople.png" alt="Bare Root Studio" /></a></div>
    
    <?php get_header(); ?>
    
    <div class="content grid_<?php gpp_base_check_sidebar_hook(); ?>">
    
    	<?php gpp_base_single_post_hook(); ?>
    
    	<?php gpp_base_after_single_post_hook(); ?>	
    
    	<?php gpp_base_comments(); ?>
    
    </div><!-- .content -->
    
    <?php  gpp_base_sidebar_hook(); ?>
    
    <?php get_footer(); ?>

    And here’s the header.php:

    [Code moderated as per the Forum Rules. Please use the pastebin]

    Help is greatly appreciated! I just am stumped and have gone in circles for too many hours trying to get the single.php to pull up the elements correctly.

    thank you!

The topic ‘Child theme – post page can't remove extra header element’ is closed to new replies.