Update header image size

Hi,

I would like to increase the size of the header image within the activello theme. I have attempted the solution at post https://colorlibsupport.com/t/how-can-i-change-the-size-of-the-header-imagelogo/, though I currently have another plugin installed to modify the featured image size. I attempted to add the function to the already installed plugin, though it fails to achieve my desired result. I also have an activello child theme installed.

<?php
/*
Plugin Name: Colorlib Plugin
Description: Quick Custom Solution Plugin for Implementing Custom Solution.
Version: 1.0.0
Author: Movin
Author URI: http://freewptp.com/
License: GNU General Public License (Version 2 - GPLv2)
*/

function modify_featured_image_size(){
add_image_size( ‘activello-featured’, 1200, 1200, true );
}
add_action( ‘init’, ‘modify_featured_image_size’, 10 );

function custom_activello_custom_header_args( $args ) {
$args[‘width’] = 9999;
$args[‘height’] = 9999;
return $args;
}
add_filter( ‘activello_custom_header_args’, ‘custom_activello_custom_header_args’ );

Can you please provide assistance.

Hi @simplytravelled,

I hope you are well today and thank you for your question.

The activello theme doesn’t support header image currently so could you please tell me a bit more in detail by sharing the screenshot of the image that you are talking about?

Kind Regards,
Movin

Hi Movin,

This support request can be closed as I have resolved the issue.

Thanks

Rob

You are most welcome here :slight_smile: