• Resolved Hotaeme

    (@hotaeme)


    Hi! I′m trying to use a header image for my OneColumn WordPress but it only appears in the main page.

    What can I do?

    Thanks!

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

    (@guido07111975)

    Hi,

    If you want it on all pages you should open file header and look for this:

    <?php if ( is_home() || is_front_page() ) {?>
    	<?php if ( get_header_image() ) {?>
    		<img src="<?php echo get_header_image(); ?>" class="header-img" alt="" />
    	<?php } ?>
    <?php } ?>

    Remove this:

    <?php if ( is_home() || is_front_page() ) {?>

    And this:

    <?php } ?>

    Have fun!

    Guido

    Theme Author Guido

    (@guido07111975)

    Closing this because of no replies.

    Guido

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