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: How to add a logo before web name and web description?

#27199

Hi 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!