Can't Find way to turn of Search in Non-Shop Pages

This topic has 11 replies, 3 voices, and was last updated 8 years, 7 months ago ago by Stan Russell

  • Avatar: alonl
    alonl
    Participant
    September 23, 2015 at 04:53

    Hey,

    As the title says, I don’t know how to turn off this search box in my pages that aren’t product or shop related.

    Please help!

    Search Box on VitaFlex.com.au

    10 Answers
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    September 23, 2015 at 09:48

    Hello,

    Go to WP Dashboard > Pages > edit a page and select “Without Sidebar” in “Sidebar Position” field on the right side of the editor.

    Best regards,
    Jack Richardson.

    Avatar: alonl
    alonl
    Participant
    September 24, 2015 at 02:10

    Hey Jack,

    Thanks! Awesome help.

    Just another quick question, is there any way to change the search icon in the header to a search box instead of having to click on it or hover on it?

    Cheers,

    Alon

    Avatar: alonl
    alonl
    Participant
    September 24, 2015 at 02:49

    Also, the fix you told me didn’t get rid of the search box… see here

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    September 24, 2015 at 09:52

    Hello,

    Please provide us with WP Dashboard credentials in private content.

    Best regards,
    Jack Richardson.

    Avatar: alonl
    alonl
    Participant
    October 4, 2015 at 07:16

    See Private

    Please, contact administrator
    for this information.
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    October 5, 2015 at 12:21

    Hello,

    I’ve set Sidebar Position to “Without Sidebar” in the page “Tool Repair”. Please check the page now:
    http://storage4.static.itmages.com/i/15/1005/h_1444042346_6912340_97fa79c03e.png

    I’ve edited the file header-structure-4.php in Appearance > Editor and added this code to show search box:

    <div class="header_search_form"><?php 
                                if(!class_exists('WooCommerce')) {
                                    get_search_form();
                                } else {
                                    get_template_part('woosearchform'); 
                                }   
                            ?></div>

    and I’ve added this code in Custom CSS for desktop:

    .header_search_form .modal-form {
        margin: 5px 20px 0px;
    }
    .navbar-right .navbar-right {
       width: 300px;
    }
    .header_search_form {
      width: 200px;
    }
    
    .header_search_form .col-xs-10 {
      padding-left: 0px;
    }
    
    .header_search_form .has-border > div {
       margin: 0px;
    }

    Please check your site now.

    Best regards,
    Jack Richardson.

    Avatar: alonl
    alonl
    Participant
    October 5, 2015 at 13:54

    HI jack,

    Thanks for your help.

    Unfortunately, changing this has made the tiles go all weird on the other pages. Could you please change it back to normal?

    Thanks again and sorry for being a hassle.

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    October 5, 2015 at 14:43

    Hello,

    I’ve reverted the changes back.
    Please clear browser cache and check the site.

    Best regards,
    Jack Richardson.

    Avatar: alonl
    alonl
    Participant
    October 6, 2015 at 07:51

    Thanks for your help!

    Avatar: stan
    Stan Russell
    Participant
    October 6, 2015 at 08:59

    Hello alonl,

    you are welcome! If you have any questions left – feel free to ask!

    Regards,
    Stan Russell.

  • Viewing 11 results - 1 through 11 (of 11 total)

The issue related to '‘Can't Find way to turn of Search in Non-Shop Pages’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.