Header motoworkschicagotowing

PHOTO EMBED

Thu Mar 31 2022 03:36:27 GMT+0000 (Coordinated Universal Time)

Saved by @alyssietayp

<div class="custom-header">
  <div class="container">
    <div class="row">
      <div class="col-sm-6 cust-header-name">
        <div class="logo-static">
          <a href="/"><img class="dealer-logo-static img-responsive logocdjrf cflogohead" src="/wp-content/uploads/2022/01/motoworks-chicago-logo.png" style="display: inline-block; max-width: 150px; height: auto; width: 100%; margin-right: 10px" /><span class="dealer-name">[dealer_info type="name"]</span></a>
        </div>
      </div>
      <div class="col-sm-6 hidden-xs">
        <div class="dealer-contact-group text-right">
          <div class="phone-number-list" style="font-weight: 400; color: #000000;"><a class="click-to-call-sales" href='tel:3127384269'><strong><span class="phone-number-value" style="text-decoration: underline; color: #000;">(312) 738-4269</span></strong></a></div>
          <div class="dealer-address-info" style="font-weight: 400;"> <span class="dealer-address" style="color: #000000; font-weight: 400; font-size: 16px;"> <a style="color: #000000;" href='https://www.google.com/maps?q=[dealer_info type="street"],+[dealer_info type="city"],+[dealer_info type="state"]+[dealer_info type="zip"]' target="_blank" class="pmm-outbound sbg-get-directions" aria-label=" Opens in a new window"><strong>[dealer_info type="address"]</strong></a> </span></div>
          <div class="dealer-header-hours" style="line-height: 20px; font-size: 15px;"> Open Tuesday-Friday 10:00am – 6:00pm <br> Open Saturday 9:00am – 6:00pm <br> <span style="font-size: 15px; font-style: italic;">Closed Sunday &amp; Monday</span></div>
        </div>
      </div>
    </div>
  </div>
</div>



<div class="dealer-contact-info-header-wrapper"><div class="dealer-contact-group"> <div class="phone-number-list" style=""> <span class="phone-label">Service: </span><span class="phone-number-value"><a class="click-to-call-service" href='tel:[dealer_info phone="service"]'>[dealer_info phone="service"]</a></span> </div><div class="dealer-address-info" style=""><span class="dealer-address" style=""><a style="" href='https://www.google.com/maps?q=[dealer_info type="street"],+[dealer_info type="city"],+[dealer_info type="state"]+[dealer_info type="zip"]' target="_blank" aria-label=" Opens in a new window">[dealer_info type="address"]</a></span></div></div>

<script>
$(document).ready(function(){
  var toolbar = $('#my-vehicles-toolbar .container').height();
  if(toolbar != null){
     var notifHeight = $('#jg-bar').height() + 20;
     var toolnotif = parseInt(notifHeight) + parseInt(toolbar) +50;
     var headerMargin = 50;
  }else{
     var notifHeight = $('#jg-bar').height() + 25;
     var toolnotif = parseInt(notifHeight);
     var headerMargin = 10;
  }
  if ($(window).width() < 768.98) {
     $('#my-vehicles-toolbar').attr('style', 'top:'+ 0);
     $('.custom-header').css('margin-top', headerMargin + "px");
  }else{
     $('#my-vehicles-toolbar').attr('style', 'top:'+ notifHeight + 'px');
     $('.custom-header').css('margin-top', toolnotif + "px");
  }
});

$(window).on('resize', function(){
  var toolbar = $('#my-vehicles-toolbar .container').height();
  if(toolbar != null){
     var notifHeight = $('#jg-bar').height() + 20;
     var toolnotif = parseInt(notifHeight) + parseInt(toolbar) +25;
  }else{
     var notifHeight = $('#jg-bar').height() + 25;
     var toolnotif = parseInt(notifHeight);
  }
  if ($(window).width() < 768.98) {
     $('#my-vehicles-toolbar').attr('style', 'top:'+ 0);
     $('.custom-header').css('margin-top', '50px');
  }else{
     $('#my-vehicles-toolbar').attr('style', 'top:'+ notifHeight + 'px');
     $('.custom-header').css('margin-top', toolnotif + "px");
  }
});
</script>
content_copyCOPY