- This topic has 1 reply, 2 voices, and was last updated 9 years, 5 months ago by Theme Horse Support Team.
-
AuthorPosts
-
June 11, 2015 at 10:49 am #25588chrisbooteParticipant
Hi
I am looking to remove the following ‘padding’ and also remove the search option as shown in the picture.
Could someone please tell me how? Many thanks
June 12, 2015 at 5:25 am #25617Theme Horse Support TeamKeymasterHi chrisboote,
To remove this section it needs code customization. This feature is not available in our theme. Simply you can remove the search form from dashboard-> appearance-> theme options -> design options -> custom header and view this screenshot.
http://www.awesomescreenshot.com/image/319622/17f9adf9f3490e1d2b77df91e610345aBut if you want to remove all this section that you have shown in the screenshot then you need code customization. Go to your theme folder -> inc -> structure -> header-extension.php and remove this code
<section 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 } } 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 } ?> </section> <!-- #site-logo -->
If you don’t want menu too then you may remove the code from line no 284 to 338
Before making any changes in the code first of all create a child theme and then only customize the code. So that while updating to our new version your customized code will not be lost. If you feel it difficult then you need to do the same thing each and every time while you update to the theme.
Thank you!
-
AuthorPosts
- You must be logged in to reply to this topic.