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*

Remove NavMenu and Search from Homepage

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #25588
    chrisboote
    Participant

    Hi

    I am looking to remove the following ‘padding’ and also remove the search option as shown in the picture.

    REMOVE THESE BITS

    Could someone please tell me how? Many thanks

    #25617

    Hi 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/17f9adf9f3490e1d2b77df91e610345a

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

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.