Support » Theme: Nusantara » Header image

  • Resolved dario.plebani


    I think that it’s easy, but I would like to know how to enlarge the header image.
    I noticed that, changing the image with a wider one, the width remains always the same, while the height decreases.

    any suggestions?

Viewing 1 replies (of 1 total)
  • Ok, thanks to a friend, we found an easy solution.

    In the functions.php file, in the code:

    function nusantara_excerpt_more( $more ) {
    		return ' …' . nusantara_continue_reading_link();
    	add_theme_support( 'custom-header', array(
                   'default-image'=> get_template_directory_uri() . '/images/logo-nusantara.png',
                   'header-text'=> false,
                   'flex-width'    => true,
                   'width'=> 300,
                   'flex-height'   => true,
                   'height'=> 139));
    	if ( ! function_exists( 'get_custom_header' ) ) {
    		define('HEADER_TEXTCOLOR', '');
    		define('HEADER_IMAGE', '%s/images/logo-nusantara.png');
    		define('HEADER_IMAGE_WIDTH', 700);
    		define('HEADER_IMAGE_HEIGHT', 139);
    		define('NO_HEADER_TEXT', true);

    edit the line

    'width'=> 300,

    with the width that you need.

    Thanks for deleting all my previous “UP”


Viewing 1 replies (of 1 total)
  • The topic ‘Header image’ is closed to new replies.