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> | |
| var projectTitle; | |
| var projectTitleText = document.querySelector('.centered-content > h4'); | |
| var checkGallery = document.querySelector('.gallery-section') | |
| var link = window.location.href + '?format=json-pretty'; | |
| fetch(link).then(response => { | |
| console.log('success', response); | |
| return response.json(); | |
| }).then(data => { | |
| console.log(data.collection.title); |
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> | |
| var newSummaryCTA = 'Learn More About This'; | |
| var getSummaryCTA = document.querySelectorAll('.summary-read-more-link'); | |
| getSummaryCTA.forEach(item => {item.textContent = newSummaryCTA }); | |
| </script> |
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
| figcaption.image-caption-wrapper { | |
| height: 100% !important; | |
| top: 0 !important; | |
| max-height: 100% !important; | |
| display: flex; | |
| justify-content: center; | |
| align-items: center; | |
| } |
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 code to Design -> Custom CSS */ | |
| header.Header.Header--top, .sqs-announcement-bar-dropzone { | |
| position:fixed !important; | |
| width: 100%; | |
| z-index: 999 !important; | |
| } | |
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 code to Design -> Custom CSS */ | |
| .arch-style { | |
| /* add your styles here */ | |
| } |
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 code to Settings -> Advanced -> Code Injection -> Footer | |
| <script> | |
| window.addEventListener('load', function(){ | |
| var getBleedImages = document.querySelectorAll('img[alt*="bleed"]'); | |
| getBleedImages.forEach(item => item.parentNode.parentNode.classList.add('full-width')); | |
| }); | |
| </script> |
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> | |
| (function(){ | |
| window.addEventListener('load', function(){ | |
| var links = document.querySelectorAll('.summary-read-more-link'); | |
| links.forEach(item=>{item.setAttribute('target','_blank') }) | |
| }) | |
| })(); | |
| </script> |