• Resolved tidusleonart1

    (@tidusleonart1)


    Please help me to remove the Search Bar in the Header. I tried to find the PHP code that generate the search bar but was no luck. Thanks

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hello @tidusleonart1

    To remove the Search Bar in the Header you need to add custom CSS.
    To add custom CSS you need to go to Admin Panel / Appearance / Customize / Theme Options / Advanced Options.
    In this section you will see a box to write custom CSS so in this box copy and paste below code:

    .search-section {
        display: none;
    }

    Hope this will help to resolve your issue.

    Have a nice day.
    Best Regards!!!

    Thread Starter tidusleonart1

    (@tidusleonart1)

    Thanks. it got all working now. By the way, I am wondering for the top section of the page where quick-links are, i want to substitute it with the Login form with username, password and login/logout button. I found out the file that contains the source code to be modified. I tried to write the code using the HTML form but seems got no luck. Would you please help me to modify the file?
    The following is part of the code i modified.

    [Large code excerpt removed by moderator per forum rules. Please use the pastebin for all large code excerpts. It works better anyway.]

    Hello @tidusleoart1,
    It seems like the code you have pasted has been removed. I am unable to look at it. Could you try pasting your code again by using the pastebin?

    Thanks.

    Thread Starter tidusleonart1

    (@tidusleonart1)

    Sorry for the trouble. Here is the code I has troubling with:

    or
    https://pastebin.com/dKiwZSt9
    My problem is that i can’t move the login section toward the right even though i tried to put the login form into another div as well as modified css file for child themes. Can you please take a look and modify it to better fit your source. Thank alot for great support so far.

    Hello, I am working with the Scribbles theme, which is child theme of Primer, through GoDaddy. I am trying to remove the search option in the header and there does not appear to be way to do this using the customize option in appearance. Any help getting this removed would be appreciated.

    https://torreysvbc.com/

    I want to be able to get the title for the site to go across the page without wrapping and I do not need the search option.

    Hello I have woocommerce and am using the store front theme. I would like to remove the search bar that is in the header all across my site. I tried entering the above mentioned custom css and it did nothing. Please help! Its placement is very annoying and search will be better placed in a side bar! The site is : https://charmamonthclub.com/

    • This reply was modified 7 years, 9 months ago by sweety9d9.

    I am also using the store front theme and would like the search bar removed from header. I tried the above code and it did not work. Please help. https://www.w6lvp.com

    Thank you!

    To remove the Search Bar in the Header you need to add custom CSS.

    
    .site-search {display: none;}
    
Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Remove Search Bar in Header File’ is closed to new replies.