Using Galleria Plugin in Debut Theme

Highlighted
New Member
1 0 0

Hey 

Im trying to get the free Galleria plugin to work with the Debut theme (for a customer gallery) and have enetered the code at directed in several on line tutorials.

The problem occurs when saving the HTML code on the theme pages, the RICH TEXT EDITOR adds in !CDATA around the Galleria load theme line and the Gallery doesnt work. (see below)

 

<div class="galleria">

<img src="https://cdn.shopify.com/s/files/1/2770/1788/files/IMG_20191022_090929_480x480.jpg?v=1572347416" alt="" />

</div>


<script>// <![CDATA[
Galleria.loadTheme('https://cdn.shopify.com/s/files/1/2770/1788/t/8/assets/galleria.classic.js');
Galleria.run('.galleria');
// ]]></script>

 

Ive tried my Google Fu to try and find a solution but as im not an HTML coder it has failed, Can anyone help?

Craig

0 Likes