From: Steve Sutton Date: Tue, 10 Apr 2018 14:33:22 +0000 (-0400) Subject: Updating site with facebook icon X-Git-Tag: v1.0.0^2 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=bfcfaf5e74a11e448cdb37bc1f4a872eecc40338;p=WP-Themes%2Fharborsprings.git Updating site with facebook icon Placing facebook icon to the left of the Call number. --- diff --git a/header.php b/header.php index d63a16c..4fdb244 100644 --- a/header.php +++ b/header.php @@ -8,11 +8,14 @@ post_name; $dir = " id=\"$slug\""; echo $dir ?>>
-
- -

Call: (231) 526-2111

-
210 Artesian Avenue
Harbor Springs MI 49740
-
+
+ +

+ + Call: (231) 526-2111 +

+
210 Artesian Avenue
Harbor Springs MI 49740
+
-
"; while(has_sub_field('slideshow')) { $image = get_sub_field('image'); @@ -74,10 +78,11 @@ echo "
\n"; } } else { - if(get_field('banner-image')) { + if(function_exists( 'get_field') && get_field('banner-image')) { echo "
"; $image = get_field('banner-image'); if(!empty($image)){ echo '' . $image['alt'] . ''; } echo "
\n"; } -} ?> +} +?> diff --git a/images/FB-1.png b/images/FB-1.png new file mode 100644 index 0000000..ee99f08 Binary files /dev/null and b/images/FB-1.png differ diff --git a/style.css b/style.css index e094cce..a4400eb 100644 --- a/style.css +++ b/style.css @@ -234,9 +234,12 @@ ul.room-gallery { list-style:none; width:100%; margin:1.5em 0 0; padding:0; clea ul.room-gallery li { width:100%; margin:0; padding:0 0 1px; display:block; } ul.room-gallery li img { display:block; margin:0 auto; } +/* facebook in header */ + /* Media Queries */ @media(min-width:419px) { body { font-size:15px; } + #facebook-icon { position: relative; float: left; margin-left: 20%; display: inline !important; } } @media(max-width:499px) { #slideshow div.slide { height:160px } @@ -306,5 +309,6 @@ ul.room-gallery li img { display:block; margin:0 auto; } #banner img { max-width:1170px; } h1{font-size:32px} h2{font-size:28px} + #facebook-icon { position: absolute; right: 200px; top: 6px; } } @media print{*,*:before,*:after{background:transparent !important;color:#000 !important;box-shadow:none !important;text-shadow:none !important;}a,a:visited{text-decoration:underline;}pre,blockquote{border:1px solid #999;page-break-inside:avoid;}thead{display:table-header-group;}tr,img{page-break-inside:avoid;}img{max-width:100% !important;}p,h2,h3{orphans:3;widows:3;}h2,h3{page-break-after:avoid;}}