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 always visible in header menu? (Instead of on click)

  • Creator
    Topic
  • #5657
    sagilca
    Participant

    Hi,

    Any tips about how to include a search box always visible in the menu (for instance, right next to the magnifying glass icon) instead of the current on click popup search box?

    Thanks! 🙂

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • #5673
    Jason Bobich
    Keymaster

    Hello,

    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.

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

    add_action('themeblvd_header_menu_addon', 'get_search_form');

    ========

    http://codex.wordpress.org/Function_Reference/get_search_form

    http://dev.themeblvd.com/tutorial/actions/

    http://dev.themeblvd.com/tutorial/primary-framework-action-hooks/

    ========

    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 – http://vimeo.com/20917974. 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.

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