From 60bda21cd6775ff62220b506eb3b21eff6f65627 Mon Sep 17 00:00:00 2001 From: Leif Hanson Date: Wed, 4 Sep 2013 16:07:10 +0000 Subject: [PATCH] Added Banners to template and tweeked image style codes. --- styles.css | 40 ++++++++++++++++++++++++++++++++++++++-- templates/template.html | 13 ++++++++++--- 2 files changed, 48 insertions(+), 5 deletions(-) diff --git a/styles.css b/styles.css index 346246d..677ed67 100755 --- a/styles.css +++ b/styles.css @@ -440,7 +440,7 @@ header { z-index: 2; width: 410px; height: 220px; - margin: 24px 30px 0 40px; + margin: 24px 30px 0 30px; padding: 0; background: url(assets/findtrail_bg.jpg); background-position: 50% 50%; @@ -557,7 +557,7 @@ header { width: 410px; float: right; clear: right; - margin: 10px 30px 10px 40px; + margin: 10px 30px 10px 30px; } #action #enews, #action #tripplanner, #action_inside #enews, #action_inside #tripplanner { display: block; @@ -920,6 +920,42 @@ h2.vid_header { width: auto; overflow: visible; } +/* Banner Ads */ +#home #horizontal_banner_home { + display: block; + clear: none; + width: 468px; + height: 60px; + margin-top: 20px; + overflow: hidden; + background: #FFF; +} +#inside #horizontal_banner_home { + display: none; +} +#inside #horizontal_banner_inside { + display: block; + clear: none; + width: 728px; + height: 90px; + margin-top: 20px; + overflow: hidden; + background: #FFF; +} +#home #horizontal_banner_inside { + display: none; +} +#inside #vertical_banner_inside { + display: block; + float: left; + clear: left; + margin: 20px; + width: 160px; + height: 600px; +} +#home #vertical_banner_inside { + display: none; +} /* Footer */ footer { font-family: Helvetica, Arial, sans-serif; diff --git a/templates/template.html b/templates/template.html index b02c6d3..65556ef 100755 --- a/templates/template.html +++ b/templates/template.html @@ -57,6 +57,10 @@ Find Us on Facebook Follow Us on Twitter +
+ {verticleBannerAds:h} +
+
@@ -112,9 +116,9 @@ Sign Up For Our Enewsletter Trip And Trail Planner ({tripPlannerCount:h})
- +
+ {horizontalBannerAds:h} +
@@ -131,6 +135,9 @@
{toolboxContent:h} +
+ {horizontalBannerAds:h} +
-- 2.17.1