max-kk
10/21/2018 - 8:39 AM

CEP Compression Widget Code

CEP Compression Widget Code

/* Added this code and remove some other */
.locally-accorderon .locally-content:after {
    content: '';
    display: table;
    clear: both;
}

/* Final SCSS code: */

.locally-accorderon {
  margin-bottom: 30px;
  
  .locally-content {
    x-display: none;
  
      &:after {
        content: '';
        display:table;
        clear: both;
      }
  
  }  
}
<script>
var lcly_config_0 = {
    "company_name": "CEP Compression",
    "company_id": "1742",
    "inline": "1",
    "lang": "en-us",
    "currency": "USD"
  };
  var lcly_query_0 = Object.keys(lcly_config_0)
  .reduce(function(a,k){a.push(encodeURIComponent(k) + '=' 
  + encodeURIComponent(lcly_config_0[k]));return a},[]).join('&');
  var lcly_endpoint_0 = 'https://cep.locally.com/stores/map.js?' + lcly_query_0;
  document.getElementById('lcly-script-0').src = lcly_endpoint_0;
</script>
    
  <div class="locally-accorderon">
	<div class="locally-header"><i class="cep-icon-placeholder-filled-point"></i><span>Find Locally</span></div>
            <div class="locally-content">
             <div id="lcly-button-0">
  <a id="lcly-link-0" href="https://brands.locally.com" target="_blank">
    Store Locator by Locally
  </a>
</div>         
            </div>
          </div>
         <div class="locally-accorderon">
            <div class="locally-content">
             	<div id="lcly-button-0">
  					    <a id="lcly-link-0"></a>
                  
				      </div>         
            </div>
         </div>
         
         
          <script id="lcly-script-0" async></script>
          <script id="lcly-config-0">
          var lcly_config_0 = {
          'company_id': '1742',
          'style': 'WB13S',
          'upc': '608729890577',
          'show_location_switcher': '1',
          'show_location_prompt': '1',
          'show_dealers': '1',
          'show_dealer_count': '1',
          'show_related_styles': '1',
          'link_opens_modal': '1',
          'button_id': 'HTML',
          'company_name': 'CEP Compression',
          'button_text': ':heart: Try on in your city ',
          'button_toggles_all': '1',
          'css': '2'
          };
          var lcly_query_0 = Object.keys(lcly_config_0)
          .reduce(function(a,k){a.push(encodeURIComponent(k) + '='
          + encodeURIComponent(lcly_config_0[k]));return a},[]).join('&');
            var lcly_endpoint_0 = 'https://cep.locally.com/stores/map.js?' + lcly_query_0;
          document.getElementById('lcly-script-0').src = lcly_endpoint_0;
          </script>