how to remove search in holder buddypress

Hi there,

I trying to remove the search bar but didn t work
I have tried to modified css (both child.css and buddypress.css)as saw on the forum by adding :

#search-bar {
display: none !important;
}

#signup-section {
display: none !important;
}

but nothing happen, so if someone could help me

Thanks