removing br tags from mobile menu, linking instagram contact us
authorAnthony Talarico <talarico@gaslightmedia.com>
Wed, 30 May 2018 17:51:44 +0000 (13:51 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Wed, 30 May 2018 17:51:44 +0000 (13:51 -0400)
footer.php
functions.php
header.php
js/custom.js
parts/glm-client-info.php
style.css

index f32348f..938ce5c 100644 (file)
@@ -23,7 +23,7 @@
                                <div id="footer-social">
                 <a href="" class="online-reservation">Online Reservations</a>
                     <a class="social-icon fb" href="https://www.facebook.com/Laurium-Manor-Inn-93454247661/"></a>
-                    <a class="social-icon instagram" href=""></a>
+                    <a class="social-icon instagram" href="https://www.instagram.com/lauriummanorinn/"></a>
                 </div>
             </div>
                </div>
index 644c1f8..cc491ca 100644 (file)
@@ -174,7 +174,7 @@ function accesspress_parallax_scripts() {
        wp_enqueue_style( 'nivo-lightbox', get_template_directory_uri() . '/css/nivo-lightbox.css' );
        wp_enqueue_style( 'animate', get_template_directory_uri() . '/css/animate.css' );
        wp_enqueue_style( 'slick', get_template_directory_uri() . '/css/slick.css' );
-  wp_enqueue_style('accesspress-parallax-woocommerce',get_template_directory_uri().'/woocommerce/ap-parallax-style.css');
+    wp_enqueue_style('accesspress-parallax-woocommerce',get_template_directory_uri().'/woocommerce/ap-parallax-style.css');
        wp_enqueue_style( 'accesspress-parallax-style', get_stylesheet_uri() );
        wp_enqueue_style( 'accesspress-parallax-responsive', get_template_directory_uri() . '/css/responsive.css' );
 
index 1c298b8..860b783 100644 (file)
@@ -37,7 +37,7 @@
             <div class="social-header">
             <a href="" class="online-reservation">Online Reservations</a>
                 <a class="social-icon fb" href="https://www.facebook.com/Laurium-Manor-Inn-93454247661/"></a>
-                <a class="social-icon instagram" href=""></a>
+                <a class="social-icon instagram" href="https://www.instagram.com/lauriummanorinn/"></a>
                 
             </div>
             <div class="flex-box">
index f86f592..f6c0406 100644 (file)
@@ -153,8 +153,27 @@ jQuery(document).ready(function($){
     $('.portfolio-listing').first().children('.portfolio-list').on("click", function(e){
         e.preventDefault();
     });
-    let portfolio_bottom = $('.portfolio-listing').last();
-    portfolio_bottom.children('a').first().attr('href', 'https://clients.innroad.com/kingsail/property.aspx').attr('target', '_blank');
-    portfolio_bottom.children('a:eq(1)').attr('href', window.pages.area);
-    portfolio_bottom.children('a').last().attr('href', window.pages.amenities);
+
+    $("li.menu-item").each(function(){
+        let preserved   = $(this).children('a').html();
+        let stripped    = $(this).children("a").text();
+        $(this).attr("data-stripped", stripped);
+        $(this).attr("data-preserved", preserved)
+    });
+    if( $(window).width() < 1001){
+        $("li.menu-item").each(function(){
+            $(this).children('a').text( $(this).data("stripped") );
+        });
+    };
+    $(window).on('resize', function(){
+        if( $(window).width() < 1001){
+            $("li.menu-item").each(function(){
+                $(this).children('a').text($(this).children("a").text() );
+           })
+        }else{
+            $("li.menu-item").each(function(){
+                $(this).children('a').html( $(this).data("preserved") );
+           })
+        }
+    });
 });
\ No newline at end of file
index f813233..0b2ecbd 100644 (file)
@@ -20,7 +20,7 @@
             <?php if (glm_get_clientinfo_option('tollfree')) :?>
                 <span><?php echo glm_get_clientinfo_option('tollfree');?></span>
             <?php endif;?>
-                <a class="mail_1 location-mail" href="<?php echo get_permalink(); ?>">Contact Us</a>
+                <a class="mail_1 location-mail" href="<?php echo get_permalink(925); ?>">Contact Us</a>
         </div>
         <div class="location_2 address-container"></div>
         <?php
index 35b2879..b657bf0 100644 (file)
--- a/style.css
+++ b/style.css
@@ -1357,7 +1357,13 @@ body.parallax-on .wpcf7-not-valid-tip {
     position: relative;
     line-height: 1;
 }
-
+@media (max-width: 1000px){
+    .menu-toggle{
+        position: relative;
+        top: 18px;
+        right: 5px;
+    }
+}
 @media (min-width: 1000px){
     #site-navigation > .menu{
         position: relative;