This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!--Add this to your custom CSS tab in Squarespace--> | |
| <style> | |
| .flex-row { | |
| display: flex; | |
| height: 100%; | |
| } | |
| .breakout { | |
| margin-left: calc(~"50% - 50vw"); | |
| margin-right: calc(~"50% - 50vw"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <style> | |
| .grid { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fit,minmax(0,1fr)); | |
| grid-template-rows: repeat(auto-fit, minmax(0,1fr)); | |
| height: 80vh; | |
| max-height: 80vh; | |
| } | |
| .snap-container::-webkit-scrollbar { | |
| display: none; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /*** Flex Container Classes ***/ | |
| .flex { | |
| display: flex; | |
| } | |
| .flex-row { | |
| flex-direction: row; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* Add to Settings -> Advanced -> Code Injection -> Footer in Squarespace */ | |
| <script> | |
| window.addEventListener('load', function(){ | |
| (function(){ | |
| var cats = document.querySelectorAll('.summary-metadata-item--cats, .Blog-meta-item--categories'); | |
| cats.forEach(item => { | |
| item.innerHTML = item.innerHTML.replace(", ", "") | |
| }) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // <script> | |
| // Get the header | |
| var header = document.querySelector('header'); | |
| // Get SQS 7.1 Logo | |
| var headerLogo = document.querySelector('.header-title-logo img'); | |
| // Get SQS 7.1 Logo src |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Create Currency Formatter | |
| const formatter = new Intl.NumberFormat('en-US', { | |
| style: 'currency', | |
| currency: 'USD', | |
| minimumFractionDigits: 2 | |
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [data-section-id='5eda7b0235d90a64cf366be5'] .col .html-block, [data-section-id='5eda7b0235d90a64cf366be5'] .col .button-block { | |
| background-color: white; | |
| } | |
| [data-section-id='5eda7b0235d90a64cf366be5'] .col { | |
| display: flex; | |
| flex-direction: column; | |
| padding: 16px; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Add to Code Injection -> Footer | |
| <script> | |
| window.addEventListener('load', function(){ | |
| var next = document.querySelector('.summary-carousel-pager-next'); | |
| var autoSlide = function(){ | |
| next.click() | |
| }; | |
| var startSlideInterval = function(){ |