March 2, 2015 at 5:50 am
#22637
Theme Horse Support Team
Keymaster
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!