Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author Richie KS

    (@rkcorp)

    need to use custom menu->location->primary.

    @search near logo
    add this to child theme functions.php or wp-content/meso-custom-functions.php

    <?php
    function meso_add_custom_searchform() {
    return get_search_form();
    }
    add_action('bp_inside_header','meso_add_custom_searchform',20);
    
    function meso_add_custom_searchform_css() {
    echo '<style>'; ?>
    #header .search-form {width: 400px;float: left;margin: 30px 0 0 100px;}
    #header .search-form .screen-reader-text {display:none;}
    <?php echo '</style>';
    }
    add_action('wp_head','meso_add_custom_searchform_css');
    ?>
    Thread Starter okeask

    (@okeask)

    Hello. I am sorry. But I could not fix any this problem. ?t does not work.

    Theme Author Richie KS

    (@rkcorp)

    working fine in my end tho.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to show child categories and to put Search near logo’ is closed to new replies.