diff --git a/modules/wordads/css/style.css b/modules/wordads/css/style.css
index a77ec09c2ad9c..687334d68431e 100644
--- a/modules/wordads/css/style.css
+++ b/modules/wordads/css/style.css
@@ -44,11 +44,6 @@
box-shadow: none !important;
}
-.wpa-about:hover, .wa_infobox a:hover {
- text-decoration: underline !important; /* !important necessary, since themes override this routinely */
- color: #444;
-}
-
/* ad unit wrapper */
.wpa .u>div { /* @todo: deprecate wpdvert */
display: block;
diff --git a/modules/wordads/php/widgets.php b/modules/wordads/php/widgets.php
index dbe2301ec2bcc..c7beccac101ee 100644
--- a/modules/wordads/php/widgets.php
+++ b/modules/wordads/php/widgets.php
@@ -37,20 +37,14 @@ public function widget( $args, $instance ) {
$snippet = '';
if ( $wordads->option( 'wordads_house', true ) ) {
- $ad_url = 'https://s0.wp.com/wp-content/blog-plugins/wordads/house/';
+ $unit = 'mrec';
if ( 'leaderboard' == $instance['unit'] && ! $this->params->mobile_device ) {
- $ad_url .= 'leaderboard.png';
+ $unit = 'leaderboard';
} else if ( 'wideskyscraper' == $instance['unit'] ) {
- $ad_url .= 'widesky.png';
- } else {
- $ad_url .= 'mrec.png';
+ $unit = 'widesky';
}
- $snippet = <<
-
-
-HTML;
+ $snippet = $wordads->get_house_ad( $unit );
} else {
$section_id = 0 === $wordads->params->blog_id ? WORDADS_API_TEST_ID : $wordads->params->blog_id . '3';
$data_tags = ( $wordads->params->cloudflare ) ? ' data-cfasync="false"' : '';
@@ -64,7 +58,7 @@ public function widget( $args, $instance ) {
echo <<< HTML