Tagged: cornerstone
-
AuthorPosts
-
December 1, 2016 at 10:50 pm #1278394
I’m trying to embed this code
<center> <iframe width="400" height="400" style="border:none;" src="http://output64.rssinclude.com/output?type=iframe&id=1110290&hash=8eaea2e8a83f3f9684cefb1290363adf"></iframe> </center>
in my slider but it won’t show up when I view the website. Weirdly I can see it during the preview of the slider though.
the website is http://www.northstateoutdoors.com/
December 1, 2016 at 11:42 pm #1278414December 2, 2016 at 12:54 am #1278476alright i added
`.my-special-embed,
.my-special-embed .tp-loop-wrap,
.my-special-embed .tp-mask-wrap,
.my-special-embed .tp-caption,
.my-special-embed iframe {width: 100% !important;
height: 100% !important;}
.my-special-embed .tp-caption {
max-width: none !important;
max-height: none !important;}`
to my css and
/* replace the "40" in the "revapi40" part below with your slider's ID http://tinyurl.com/zb6hzpc */ var api = revapi40.on('revolution.slide.onloaded', function() { api.find('.tp-caption').not('.tp-videolayer').children('iframe').closest('.tp-parallax-wrap').addClass('my-special-embed'); });
to my javascript
it seemed to fix it.
December 2, 2016 at 1:00 am #1278477Glad you sorted things out,
Cheers!
-
AuthorPosts