Skip to content

Instantly share code, notes, and snippets.

View JacobLett's full-sized avatar
🤠
hello!

Jacob Lett JacobLett

🤠
hello!
View GitHub Profile
/* v5.1.0 - August 2021 */
.accordion-body
.accordion-button
.accordion-collapse
.accordion-flush
.accordion-header
.accordion-item
.active
.alert
.alert-danger
/* file:///Users/henryhuman/Documents/04_Business/Bootstrap%20Creative/GitHub%20repositories/bootstrap-classes-list/bootstrap4.5.0.html */
.accordion
.active
.alert
.alert-danger
.alert-dark
.alert-dismissible
.alert-heading
.alert-info
<style type="text/css" id="LeadinColors-64555">#leadinModal-64555 .leadinModal-content {
border-color: #999999 !important;
}
#leadinModal-64555 .leadinModal input:focus {
box-shadow: 0 0 0 2px #b8b8b8 !important;
}
#leadinModal-64555 .leadin-button-primary {
background: #999999 !important;
color: #FFFFFF !important;
}
@JacobLett
JacobLett / gist:644d0f9f232fbd2c87b8
Last active June 21, 2023 19:06
Bigcommerce theme development Grunt - requires local transmit webdav Mount
module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
uglify: {
build: {
//src: ['template/js/libs/*.js', 'template/js/libs/cloudzoom/*.js', 'template/js/crafted.js'], //input
@JacobLett
JacobLett / gist:45561dec14ee018f02b1c3144125a634
Last active May 19, 2023 16:52
HubSpot form embed with div target ID - without this the form can sometimes appear out of alignment
<div id="footerHSForm"></div>
<!--[if lte IE 8]>
<script charset="utf-8" type="text/javascript" src="//js.hsforms.net/forms/v2-legacy.js"></script>
<![endif]-->
<script charset="utf-8" type="text/javascript" src="//js.hsforms.net/forms/v2.js"></script>
<script type="text/javascript">
hbspt.forms.create({
css: '',
// Add portalId
portalId: '',
@JacobLett
JacobLett / gist:a62a9bc4c644c31f9f99190d29abc02e
Created March 11, 2019 18:05
HubSpot Form Conversion Tracking - Google Analytics Event Script
######## Add to HEAD
<!-- Global site tag (gtag.js) - Google Ads: 802890537 -->
<script async src="https://www.googletagmanager.com/gtag/js?id=AW-802890537"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'AW-ID');
@JacobLett
JacobLett / gist:2af0f7304b5ca948b78b43eb090fd427
Created July 25, 2019 08:30
install gulp on mac when sudo doesn't work
sudo npm install -g gulp --unsafe-perm=true --allow-root
sudo npm install -g gulp-cli --unsafe-perm=true --allow-root
@JacobLett
JacobLett / gist:6873b222370936329f398f2af52559dc
Created August 27, 2019 17:54
hubspot form data to url
<script type="text/javascript" src="//js.hsforms.net/forms/v2-legacy.js" charset="utf-8"></script>
<!--[endif]---->
<script type="text/javascript" src="//js.hsforms.net/forms/v2.js" charset="utf-8"></script>
<script>
hbspt.forms.create({
portalId: "47251",
formId: "f4271808-e089-439e-80f8-13d61a039b3a",
inlineMessage: 'Your submit message here',
onFormSubmit: function($form){
setTimeout( function() {
@JacobLett
JacobLett / gist:b8f342839cc9592bb91791466c698a87
Created July 1, 2020 17:50
hubspot html tag for languages
<!doctype html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="{{ html_lang }}" {{ html_lang_dir }}> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang="{{ html_lang }}" {{ html_lang_dir }}> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9" lang="{{ html_lang }}" {{ html_lang_dir }}> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="{{ html_lang }}" {{ html_lang_dir }}> <!--<![endif]-->
@JacobLett
JacobLett / gist:cf1d41aadbc87eacafccf57ee8cc0fda
Created July 13, 2020 13:12
default hubspot form module - options
{% if module.title is truthy %}
{% set no_title = False %}
{% else %}
{% set no_title = True %}
{% endif %}
{% if module.form.form_id %}
{% form
form_key='{{ name }}',
form_to_use='{{ module.form.form_id }}',