Tweaks to css and searchview so external ads dispay properly, a=chris
Tweaks to css and searchview so external ads dispay properly, a=chris
diff --git a/src/css/search.css b/src/css/search.css
index 0960bb5ab..145dfc793 100755
--- a/src/css/search.css
+++ b/src/css/search.css
@@ -3438,11 +3438,7 @@ button.default
.top-adscript
{
clear: both;
- left: 0.5in;
padding: 0.05in;
- position: relative;
- right: 0.5in;
- top: -1.1in;
max-width:8in;
}
.top-ad-static,
@@ -3453,11 +3449,7 @@ button.default
}
.mobile .top-adscript
{
- left: 3px;
padding: 1px;
- position: relative;
- right: 3px;
- top: -40px;
width:90%;
}
.mobile .top-ad-static
diff --git a/src/views/SearchView.php b/src/views/SearchView.php
index 72752024e..60a7d887f 100755
--- a/src/views/SearchView.php
+++ b/src/views/SearchView.php
@@ -60,6 +60,8 @@ class SearchView extends ComponentView
if (!$_SERVER["MOBILE"]) {
$this->addContainer("opposite", "searchcallout");
}
+ $this->addContainer("center", "topadvertisement");
+ $this->addContainer("center", "sideadvertisement");
$this->addContainer("center", "displayadvertisement");
if ($_SERVER["MOBILE"]) {
$this->addContainer("center", "searchcallout");