Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #57901
    phdinlife
    Member

    Hi, I’d like to remove the search box that’s defaulted in the header (between the title/logo and navigation bar). I’d rather have my title/logo flush with the navigation bar. I’ve created a child theme and need help with the code for the child file functions.php that will override the parent code.

    Thanks!

    #57945
    Sakin
    Keymaster

    @phdinlife: If you have child theme of Catch Responsive Free theme then just copy function catchresponsive_header_right() from catchresponsive-structure.php file to your child theme functions.php file and remove search.

    #57973
    phdinlife
    Member

    Thanks so much!!

    #59746
    brian
    Participant

    what if im not using a child theme?

    thank you in advance.

    #59866
    Sakin
    Keymaster

    @brian If you are not using child theme, then you can hide it only by using Custom CSS. For that you need to post in your site URL.

    #60177

    Hi,
    I’m currently look how to remove the search box but I can’t find the catchresponsive-structure.php file in the primary theme folder to copy the line needed to put inside my functions.php of child folder.
    Currently my functions.php is blank and no personalizations is performed with this. What I have to do ?
    Also I would like to remove the search icon in the right side of primary menu.
    Thanks

    #60181
    Sakin
    Keymaster

    @Maverick87Shaka: The easy way to remove those search will be to upgrade to pro version. If you upgrade to pro version, you will get header right sidebar option which will allow you to remove or add any other widgets in that section. Also, you have option to remove search in primary menu.

    But in Free version, this option in not there. So, first you need to build child theme. For child theme, refer to http://catchthemes.com/blog/create-child-theme-wordpress/

    Then copy catchresponsive_header_right() from catchresponsive-structure.php file and then remove the whole search search. Then to remove search from primary menu, you can copy catchresponsive_primary_menu() from catchresponsive-menus.php file and the remove the search.

    #60202

    Thanks for reply, I’ve now successfully removed both search forms from my child theme, the last things that I would like to do with the layout is “move” the social icon from the upper right corner of website, inside the right corner of primary navigation menu? It’s possible? it’s compatible with the previous made modification to delete the search forms?

    Thanks again!

    #60203
    Sakin
    Keymaster

    @Maverick87Shaka: Yes, that is high level of customization and yes, you can copy that social icon code from catchresponsive_header_right() and move to catchresponsive_primary_menu() then you need to adjust the css for width in your child theme style.css. For this you might want to hire a developer to customize it for you.

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Remove header search box’ is closed to new replies.