From: Laury GvR Date: Mon, 2 Apr 2018 19:39:21 +0000 (-0400) Subject: New social icons & urls; set based on site section X-Git-Tag: v1.0.0^2~29 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=89bc7c0b42ea269b39cd9d3a61b5ae7cb262d9c1;p=WP-Themes%2Fbayharbor.git New social icons & urls; set based on site section - New social icon sets used; these include Linked In. - Social urls updated - Real Estate, Hotel, and Base, now show a different set of social icons in the footer or the off-canvas menu depending on which section the user is on. --- diff --git a/assets/social-icons-hotel.png b/assets/social-icons-hotel.png deleted file mode 100644 index bf0e61e..0000000 Binary files a/assets/social-icons-hotel.png and /dev/null differ diff --git a/assets/social-icons-set-gray.png b/assets/social-icons-set-gray.png new file mode 100755 index 0000000..c011ad9 Binary files /dev/null and b/assets/social-icons-set-gray.png differ diff --git a/assets/social-icons-set-white.png b/assets/social-icons-set-white.png new file mode 100644 index 0000000..aaad14b Binary files /dev/null and b/assets/social-icons-set-white.png differ diff --git a/assets/social-icons.png b/assets/social-icons.png deleted file mode 100644 index 63ec91e..0000000 Binary files a/assets/social-icons.png and /dev/null differ diff --git a/css/app.css b/css/app.css index d3131cf..bed41a4 100644 --- a/css/app.css +++ b/css/app.css @@ -7053,15 +7053,15 @@ header { header.hotel-section #top-bar-phone-socials #top-bar-social-wrapper #top-bar-socials { margin-top: 0; } header.hotel-section #top-bar-phone-socials #top-bar-social-wrapper #top-bar-socials .social-icon { - background-image: url("../assets/social-icons-hotel.png"); + background-image: url("../assets/social-icons-set-gray.png"); width: 16px; height: 16px; } header.hotel-section #top-bar-phone-socials #top-bar-social-wrapper #top-bar-socials .social-icon.facebook { background-position: 0px 0px; } header.hotel-section #top-bar-phone-socials #top-bar-social-wrapper #top-bar-socials .social-icon.twitter { - background-position: -24px 0px; } - header.hotel-section #top-bar-phone-socials #top-bar-social-wrapper #top-bar-socials .social-icon.pinterest { - background-position: -47px 0px; } + background-position: -23px 0px; } + header.hotel-section #top-bar-phone-socials #top-bar-social-wrapper #top-bar-socials .social-icon.linkedin { + background-position: -46px 0px; } header.hotel-section .top-bar { padding-top: 40px; } header.hotel-section .top-bar .top-bar-section { @@ -8669,22 +8669,22 @@ footer.main h4 { margin-top: 25px; text-align: center; } .social-links .social-icon { - background-image: url("../assets/social-icons.png"); + background-image: url("../assets/social-icons-set-white.png"); background-repeat: no-repeat; display: inline-block; - height: 21px; - width: 21px; + height: 20px; + width: 20px; margin: 3px; } .social-links .social-icon.facebook { background-position: 0 0; } .social-links .social-icon.twitter { background-position: -29px 0; } .social-links .social-icon.instagram { - background-position: -59px 0; } + background-position: -58px 0; } .social-links .social-icon.youtube { - background-position: -89px 0; } - .social-links .social-icon.pinterest { - background-position: -119px 0; } + background-position: -87px 0; } + .social-links .social-icon.linkedin { + background-position: -116px 0; } .contact-us-link { display: inline-block; diff --git a/functions.php b/functions.php index 3db3e14..65c0a7a 100644 --- a/functions.php +++ b/functions.php @@ -6,10 +6,11 @@ $ancestorId = null; $includePages = array(); $frontPageId = get_option('page_on_front'); add_action('widgets_init', 'glm_quicksite_widget_init'); -define("BUILDERS_PAGE_ID", 74 ); // L:34, dev55:74 -define("HOTEL_PAGE_ID", 84 ); // L:13, dev55:84 -define("FRONT_BLOCKS_GROUP",383); // L:128, dev55:383 -define("HOTEL_BLOCKS_GROUP",384); // L:129, dev55:384 +define("BUILDERS_PAGE_ID", 74 ); // L:34, dev55:74 +define("HOTEL_PAGE_ID", 84 ); // L:13, dev55:84 +define("REAL_ESTATE_PAGE_ID", 27 ); // L:19, dev55:27 +define("FRONT_BLOCKS_GROUP", 383); // L:128, dev55:383 +define("HOTEL_BLOCKS_GROUP", 384); // L:129, dev55:384 if (!function_exists('glm_quicksite_widget_init')) { diff --git a/scss/_page.footer.scss b/scss/_page.footer.scss index ac958ee..896366a 100644 --- a/scss/_page.footer.scss +++ b/scss/_page.footer.scss @@ -117,11 +117,11 @@ footer.main { margin-top: 25px; text-align: center; .social-icon { - background-image: url("../assets/social-icons.png"); + background-image: url("../assets/social-icons-set-white.png"); background-repeat: no-repeat; display: inline-block; - height: 21px; - width: 21px; + height: 20px; + width: 20px; margin: 3px; &.facebook { background-position: 0 0; @@ -130,13 +130,13 @@ footer.main { background-position: -29px 0; } &.instagram { - background-position: -59px 0; + background-position: -58px 0; } &.youtube { - background-position: -89px 0; + background-position: -87px 0; } - &.pinterest { - background-position: -119px 0; + &.linkedin { + background-position: -116px 0; } } } diff --git a/scss/_page.header.scss b/scss/_page.header.scss index e0b0495..89ed66f 100644 --- a/scss/_page.header.scss +++ b/scss/_page.header.scss @@ -85,17 +85,17 @@ header { #top-bar-socials { margin-top: 0; .social-icon { - background-image: url("../assets/social-icons-hotel.png"); + background-image: url("../assets/social-icons-set-gray.png"); width: 16px; height: 16px; &.facebook { background-position: 0px 0px; } &.twitter { - background-position: -24px 0px; + background-position: -23px 0px; } - &.pinterest { - background-position: -47px 0px; + &.linkedin { + background-position: -46px 0px; } } } diff --git a/sections/footer.php b/sections/footer.php index 98063b2..9a1b71b 100644 --- a/sections/footer.php +++ b/sections/footer.php @@ -46,11 +46,22 @@ Request
diff --git a/sections/off-canvas.php b/sections/off-canvas.php index ddf3829..502438c 100644 --- a/sections/off-canvas.php +++ b/sections/off-canvas.php @@ -15,11 +15,22 @@