Why didn't you just try it out?
Having said that, your code won't work as is. Don't pass a selector to .remove()
, because that filters the set of matched elements, it doesn't search for descendants of the matched elements. Instead you can do this:
$(document).ready(function(){
$('#category_rss_widgets h3.widget-title').remove();
});
The selector '#category_rss_widgets h3.widget-title'
will match any h3 elements with the "widget-title" class that are descendants of #category_rss_widgets. Note that to match on a class name you need a .
before the class name.