JSFiddle - React, Tailwind, and code Playground
HTML
<div id='category'>
<div id="search_filters_wrapper">
Filter
</div>
<div class="st_banner_row" style="">
There is Banner
</div>
</div>
CSS
.st_banner_row{
border: 2px solid black;
width: max-content;
margin-top: 1rem;
}
JavaScript
var elementExists = document.getElementById('category').getElementsByClassName('st_banner_row');
if (typeof(elementExists) != 'undefined' && elementExists != null)
{
$("#search_filters_wrapper").css({
display: none,
});
}