##.b-spec-adv
##div[class*="b-spec-adv"]
But with both of them ads were still shown at the top and at the bottom of the list:
Example code of element:
Code: Select all
<div class="b-spec-adv b-spec-adv_serp-margin_yes g-gap-vertical b-spec-adv b-spec-adv_type_highlighted i-bem b-spec-adv_js_inited" onclick="return {"b-spec-adv":{}}" style="display:block!important">
<div class="b-spec-adv__all b-spec-adv__all_align_right b-spec-adv__all_fixheight_yes b-spec-adv__all_bottom_yes" style="display:block!important">
<a class="b-link" href="http://direct.yandex.ru/search?charset=utf-8&text=%D1%85%D0%BE%D0%BB%D0%BE%D0%B4%D0%B8%D0%BB%D1%8C%D0%BD%D0%B8%D0%BA" target="_blank" onmousedown="w(this, '155.136');">
Все объявления
</a>
</div>
<div class="b-spec-adv__list b-serp-list" style="display:block!important">
<div class="b-spec-adv__item b-serp-item b-spec-adv__item_js_inited" style="display:block!important">
<i class="b-serp-item__favicon" style="background-position: 0 -0px">
</i>
<h2 class="b-serp-item__title">
<a class="b-serp-item__title-link" href="http://yabs.yandex.ua/count/..." target="_blank">
<span>
<b>
Холодильники
</b>
все модели
</span>
</a>
</h2>
<div class="b-serp-item__text">
В Интернет - Магазине УкрМарт. Доставка Бесплатно. Точно в срок! Гарантия.
</div>
<div class="b-info">
<img class="b-info__time-icon b-sprite" src="//yandex.st/lego/_/La6qi18Z8LwgnZdsAr1qy1GwCwo.gif" alt="">
<span class="b-info__item b-nobr">
пн-пт 9:00-19:00, сб 9:00-16:00, вс 10:00-16:00
</span>
</div>
<div class="b-serp-item__links">
<div class="b-serp-url">
<span class="b-serp-url__item">
<a class="b-link b-link_inner_yes b-serp-url__link b-phone-direct" href="http://yabs.yandex.ua/count/..." target="_blank">
<img class="b-serp-url__icon b-serp-url__icon_type_phone b-sprite" src="//yandex.st/lego/_/La6qi18Z8LwgnZdsAr1qy1GwCwo.gif" alt="">
<span class="b-link__inner">
Адрес и телефон
</span>
</a>
</span>
<span class="b-serp-url__item">
ukrmart.ua
</span>
</div>
</div>
</div>
<div class="b-spec-adv__item b-spec-adv__item_last_yes b-serp-item b-spec-adv__item_js_inited" style="display:block!important">
<i class="b-serp-item__favicon" style="background-position: 0 -16px">
</i>
<h2 class="b-serp-item__title">
<a class="b-serp-item__title-link" href="http://yabs.yandex.ua/count/..." target="_blank">
<span>
<b>
Холодильники
</b>
. Низкие цены.
</span>
</a>
</h2>
<div class="b-serp-item__text">
Все модели на одном сайте. Найди-сравни-купи!
</div>
<div class="b-serp-item__links">
<div class="b-serp-url">
<span class="b-serp-url__item">
price.ua
</span>
</div>
</div>
</div>
</div>
<div class="b-spec-adv__direct-wrap" style="display:block!important">
<a class="b-link b-spec-adv__direct b-sprite" href="//advertising.yandex.ru/welcome/?id=spec" target="_blank" title="Яндекс.Директ" onmousedown="w(this, '155.214');">
Яндекс.Директ
</a>
</div>
</div>
~http://forum.userstyles.org/discussion/comment/75951
In Stylish for Opera, user specified style sheet(s) take priority over browser and site style sheet(s). Unless the site sheet(s) have !important attached to a rule. In which case this can be overridden by applying !important to the user style sheet. Also, in-line styles have priority unless the user sheet includes !important in the rule.