This topic has 18 replies, 2 voices, and was last updated 8 years by olasatu.

  • Author
  • #98601
     olasatu
    Participant

    How to remove Search Members of Search_Form

    #98665
     sharmstr
    Moderator

    Put this in your child theme’s functions.php file. Change “My Custom Member Search Text” to whatever you want.

    COPY CODE
    
    add_filter( 'bp_get_search_default_text', 'change_default_search_text' );
    function change_default_search_text( $default_text ) {
        if ( bp_current_component() == 'members' ) {
            $default_text = "My Custom Member Search Text";
        }
        return $default_text;
    }
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #98818
     olasatu
    Participant

    I mean How to remove <?php get_search_form(); ?> and not search text or query

    #98821
     sharmstr
    Moderator

    Put this in your quick css

    COPY CODE
    
    #members-dir-search {
        display: none !important;
    }
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #98824
     olasatu
    Participant

    I put on style.css but does’t work

    #98827
     sharmstr
    Moderator

    Put it in Quick css.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #98829
     olasatu
    Participant

    what do you mean Quick css or (quick.css)

    #98831
     sharmstr
    Moderator

    Theme Options > General: Quick CSS

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #98833
     olasatu
    Participant

    I need for the theme child, because with quick kleo css i had work with: #buddypress #members-dir-search{display:none;} = OK, But i need your help for theme child.

    #98834
     sharmstr
    Moderator

    Your child theme’s style.css file isnt even loading. Why do you have so many files in your child theme?

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #98835
     olasatu
    Participant

    How do you know that, do you hack my theme kleo with … or my website.

    #98836
     sharmstr
    Moderator

    By viewing the page source.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #98837
     olasatu
    Participant

    OK, But i need your help for theme child how to remove searchform..?

    #98841
     sharmstr
    Moderator

    I will help if you answer my previous question

    “Your child theme’s style.css file isnt even loading. Why do you have so many files in your child theme?”

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #98842
     olasatu
    Participant

    please visit again and you will see

    #98848
     sharmstr
    Moderator

    I dont understand what you’ve done to your site. You should have /themes/kleo and /themes/kleo-child.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #98851
     olasatu
    Participant

    That why i need your help for searchform with child css and also i need your help for the cellpending (space) between too wide

    #98853
     sharmstr
    Moderator

    You should have Kleo installed in /themes/kleo.
    You should have the Kleo Child Theme install in /themes/kleo-child.
    You should have the Kleo Child Theme enabled.
    themes/kleo/style.css shouldn’t have any css it in.
    themes/kleo-child should have style.css and functions.php in it and nothing else unless absolutely necessary.
    themes/kleo-child/style.css should have your Kleo css overrides.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #98855
     olasatu
    Participant

    Thank you very much

Viewing 19 posts - 1 through 19 (of 19 total)

The forum ‘General questions’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?