Unique Headers and Cherry Framework
-
Hi,
I’ve installed the plugin to my Cherryframwork Childtheme. I’ve added the following code in my functions.php
$args = array(
‘flex-width’ => true,
‘width’ => 980,
‘flex-height’ => true,
‘height’ => 200,
‘default-image’ => get_template_directory_uri() . ‘/images/header.jpg’,
);
add_theme_support( ‘custom-header’, $args );Then I added the following code in my header.php
<img src=”<?php header_image(); ?>” height=”<?php echo get_custom_header()->height; ?>” width=”<?php echo get_custom_header()->width; ?>” alt=”” />But now the picture is placed above my header. Can anybody please figure out what I’ve done wrong?
Thankscherry
- The topic ‘Unique Headers and Cherry Framework’ is closed to new replies.