Header image on static homepage only
-
I am using the CyberChimps Fine Free theme at: https://www.amesuniversal.com
I am in need of the code to wrap around header image. Can anyone tell me what it is and where to place it?</head>
<body <?php body_class(); ?>>
<div class=”full-width-container header-full-width”>
<?php $header_image = cyberchimps_get_option( ‘header_image’, get_template_directory_uri() . ‘/images/header.jpg’ );
$header_image = ( $header_image != ” ) ? $header_image : get_template_directory_uri() . ‘/images/header.jpg’; ?>
<img class=”header-image” src=”<?php echo esc_url( $header_image ); ?>” alt=”Image”/>
<div class=”header-container”>
<div class=”container”>
<?php do_action( ‘cyberchimps_before_wrapper’ ); ?>
<div class=”container-fluid”>
- The topic ‘Header image on static homepage only’ is closed to new replies.