This is searchable archive of our old support forums, which operated from 2012 - 2016. To find out how to get support for your current theme, please visit our support page.

Search Box in Header

  • Creator
  • #3848

    Hi, how may i add the search box in header of the theme (into header.php)?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
  • #3850
    Jason Bobich


    I apologize, but there is no feature in the theme for this. This would be a customization you’d need to make to the theme. It will take basic PHP and child theme knowledge.

    One possible solution from your Child theme would be to hook WordPress’s get_search_form function to the “themeblvd_header_addon” hook, and then position and style it with CSS.

    add_action('themeblvd_header_addon', 'get_search_form');



    For CSS changes, it’s a good idea to use a tool like firebug or Google Chrome’s built-in developer tools to locate them and then put the edits either in your child theme or in the “Custom CSS” option on your theme options page.

    Also, here’s a helpful tutorial on how to use Firebug – The only thing I’d suggest not doing is actually making edits to the theme’s CSS files, as it shows at the end of that video. However, the video serves as a good introduction to Firebug and how it can be used to find what CSS is effecting certain areas of your site without ever digging around in any files.


    Thank you, solved:)

Viewing 2 replies - 1 through 2 (of 2 total)
  • The forum ‘Swagger Responsive WordPress Theme’ is closed to new topics and replies.