This file contains 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
<#if carouselImage.getData()?? && carouselImage.getData() != ""> | |
<div | |
title="${carouselImage.altText.getData()}" | |
class="fill-all-space" | |
style=" | |
background-image: url(${carouselImage.getData()}); | |
background-repeat: no-repeat; | |
background-position: center; | |
background-size: contain; | |
" |
This file contains 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
<#if carouselImage.getData()?? && carouselImage.getData() != ""> | |
<div | |
title="${carouselImage.altText.getData()}" | |
class="fill-all-space" | |
style=" | |
background-image: url(${carouselImage.getData()}); | |
background-repeat: no-repeat; | |
background-position: center; | |
background-size: contain; | |
" |
This file contains 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 src="https://cdnjs.cloudflare.com/ajax/libs/bxslider/4.1.2/jquery.bxslider.min.js"></script> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bxslider/4.1.2/jquery.bxslider.css" /> | |
<script> | |
// this part of the code should probably be moved to theme | |
// it is written like this instead of script tag based on youtube api docs | |
// the idea is to make it asynchronous (not blocking) | |
var tag = document.createElement('script'); | |
tag.src = 'https://www.youtube.com/iframe_api'; | |
var firstScriptTag = document.getElementsByTagName('script')[0]; |
This file contains 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
{ | |
"availableLanguageIds": [ | |
"en_US" | |
], | |
"defaultLanguageId": "en_US", | |
"fields": [ | |
{ | |
"label": { | |
"en_US": "Carousel Image" | |
}, |
This file contains 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
{ | |
"availableLanguageIds": [ | |
"en_US" | |
], | |
"defaultLanguageId": "en_US", | |
"fields": [ | |
{ | |
"label": { | |
"en_US": "Carousel Image" | |
}, |
This file contains 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
{ | |
"availableLanguageIds": [ | |
"en_US" | |
], | |
"defaultLanguageId": "en_US", | |
"fields": [ | |
{ | |
"label": { | |
"en_US": "Carousel Image" | |
}, |