• Resolved Cristina306

    (@cristina306)


    Hi,

    How I can delete the picture of header in every page???… I just want this on the homepage.
    I havethe premium version of Adamos, and I did some questions…But I’ve already solved some of them by my own…

    I going to try again…

    An answer will be apreciated

Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author Template Express

    (@danstriker)

    In the header.php file look for:

    <div class="header-image">

    Delete everything inside this div and replace with:

    <?php if(is_front_page()):?>
        <?php $header_image = get_header_image();
    		if ( ! empty( $header_image ) ) { ?>
    			<a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home">
    				<img src="<?php header_image(); ?>" width="<?php echo get_custom_header()->width; ?>" height="<?php echo get_custom_header()->height; ?>" alt="" />
    			</a>
    		<?php } // if ( ! empty( $header_image ) ) ?>
    
        <?php endif; ?>

    Right, I’d like to do the opposite.

    I have the slider on the homepage. I want the header image on all the other pages EXCEPT for the home page.

    What and where do I edit to remove header image from home page only?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Delete header image on pages’ is closed to new replies.