you need to use !important in class .Check this awesome answerCheck this awesome answer to see how !important works
/*html*/ <div class="first" style="display:none;">sdfirst</div> <div class="second" >second</div> /*jquery*/ $(".second").mouseover(function() { $(".first").addClass("ss"); }) /*css*/ .ss{display:block !important;}