How to remove space where search bar used to be

Discussion in 'GeoCraft WordPress Theme' started by minisitepro, May 17, 2013.

  1. minisitepro

    minisitepro New Member

    Joined:
    Dec 7, 2012
    Messages:
    7
    Likes Received:
    2
    I have removed the search bar from the header by deleting this code:

    PHP:
     <?php
                        
    if (file_exists(TEMPLATE_PATH '/home_searchform.php')):
                            require_once 
    TEMPLATE_PATH '/home_searchform.php';
                        endif;
                        
    ?>
    but the greay background area is still there. What code do I need to remove to get rid of this?
     
    gosmartmobi likes this.
  2. Piyush

    Piyush Support Staff

    Joined:
    Dec 8, 2012
    Messages:
    4,745
    Likes Received:
    107
  3. Piyush

    Piyush Support Staff

    Joined:
    Dec 8, 2012
    Messages:
    4,745
    Likes Received:
    107
    Hello,
    Paste the following code in your Custom CSS
    (Appearance -> Theme Options -> Styling Options -> Custom CSS)
    Code:
    .header_wrapper {
    min-height: 164px;
    padding-bottom: 0px;
    }
    This will solve your issue.
     
  4. gosmartmobi

    gosmartmobi Member

    Joined:
    Nov 14, 2012
    Messages:
    39
    Likes Received:
    1
    I used this fix and am pleased. Though on mobile phone version "Page Navigation Menu" no longer works. That's ok I would like to change "Page Navigation Memu" to "Welcome to Mobile Site" I use a sidebar custom menu for my pages. Prior thread showed how to do this -- however, I cannot decipher what page to use under editor. Please clarify what page to use under Appearances > Editor >
     
  5. Nitesh

    Nitesh Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    5,165
    Likes Received:
    160
    Hello,

    For this go to the
    geocrafttheme\library\text_domains\admin_path.php
    and make changes as shown in image.

    [​IMG]
     

Share This Page