May 18, 2015 at 8:46 pm #57901phdinlifeMember
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!May 19, 2015 at 10:14 am #57945
@phdinlife: If you have child theme of Catch Responsive Free theme then just copy function
catchresponsive-structure.phpfile to your child theme
functions.phpfile and remove search.May 19, 2015 at 7:06 pm #57973phdinlifeMember
Thanks so much!!June 18, 2015 at 7:15 pm #59746brianParticipant
what if im not using a child theme?
thank you in advance.June 21, 2015 at 10:18 am #59866
@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.June 26, 2015 at 6:37 pm #60177Maverick87ShakaMember
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.
ThanksJune 26, 2015 at 9:23 pm #60181
@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/
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.June 27, 2015 at 7:22 pm #60202Maverick87ShakaMember
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!June 27, 2015 at 8:41 pm #60203
@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.
- The topic ‘Remove header search box’ is closed to new replies.