badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

Reply To: Full header logo

#22637

Hi Urs,

1st: is it possible to remove that little space at the top via custom css?
==> Which space do you want to remove? Could you make it more clear and also provide site url too.

2nd: is it possible to make the full header logo clickable an linked to the main startpage?
==> yes you can but you have to customize the code. The file is inside theme folder(attitude-pro)-> library-> structure-> header-extension.php on line no 205 and you will find this below code.

<?php $header_image = get_header_image();
			if( !empty( $header_image ) ) :?>
				<img src="<?php echo esc_url( $header_image ); ?>" class="header-image" width="<?php echo get_custom_header()->width; ?>" height="<?php echo get_custom_header()->height; ?>" alt="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>">
			<?php endif; ?>	

and remove this above code with this below code
<?php $header_image = get_header_image();

			if( !empty( $header_image ) ) :?>
				<a href="<?php echo esc_url( home_url( '/' ) ); ?>"><img src="<?php echo esc_url( $header_image ); ?>" class="header-image" width="<?php echo get_custom_header()->width; ?>" height="<?php echo get_custom_header()->height; ?>" alt="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>"> </a>
			<?php endif; ?>	

Before making any changes in the code first create a child theme to be safe from you customized code loss while updating to our new version.

Thank you!