- This topic has 3 replies, 2 voices, and was last updated 10 years, 2 months ago by
Theme Horse Support Team.
-
AuthorPosts
-
August 10, 2015 at 9:39 pm #27142
ludveek
ParticipantHello.
Could you please advice me how to add a small logo in front of web page name and description in header?
Thank you very much in advance.
ludveek
August 11, 2015 at 5:42 am #27153Theme Horse Support Team
KeymasterHi ludveek,
This feature is not available in our theme. You can either display image or text only. We have designed our theme this way. It needs code customization and you need to hire a developer.
Before making any changes in the code first of all create a child theme and then customize the code to be safe from data loss while updating to new version.Thank you!
August 11, 2015 at 8:34 am #27160ludveek
ParticipantHi,
Could you please give a hint in which file (code part) could such a modification be done?
Thanks a lot in advance.
August 12, 2015 at 6:13 am #27199Theme Horse Support Team
KeymasterHi ludveek,
go to theme folder -> library-> structure -> header-extension.php you will see this below code
` <hgroup id=”site-logo” class=”clearfix”>
<?php
if( $options[ ‘header_show’ ] != ‘disable-both’ && $options[ ‘header_show’ ] == ‘header-text’ ) {
?>
<h1 id=”site-title”>
<a href=”<?php echo esc_url( home_url( ‘/’ ) ); ?>” title=”<?php echo esc_attr( get_bloginfo( ‘name’, ‘display’ ) ); ?>” rel=”home”>
<?php bloginfo( ‘name’ ); ?>
</a>
</h1>
<?php $site_description = get_bloginfo( ‘description’, ‘display’ );
if($site_description){?>
<h2 id=”site-description”><?php bloginfo( ‘description’ ); ?></h2>
<?php } ?>
<?php
}
elseif( $options[ ‘header_show’ ] != ‘disable-both’ && $options[ ‘header_show’ ] == ‘header-logo’ ) {
?>
<h1 id=”site-title”>
<a href=”<?php echo esc_url( home_url( ‘/’ ) ); ?>” title=”<?php echo esc_attr( get_bloginfo( ‘name’, ‘display’ ) ); ?>” rel=”home”>
<img src=”<?php echo $options[ ‘header_logo’ ]; ?>” alt=”<?php echo esc_attr( get_bloginfo( ‘name’, ‘display’ ) ); ?>”>
</a>
</h1>
<?php
}
?>`Now you need to customize your the above code in header-extension.php
Before making any changes in the code first of all create a child theme then only customize the code. So that while udpating to new version you will not lose any data.
Thank you!
-
AuthorPosts
- You must be logged in to reply to this topic.
