Tagged: x
-
AuthorPosts
-
October 5, 2016 at 5:55 pm #1204128
espyParticipantHey guys, I’m trying to use this library: https://github.com/peachananr/interactive_bg in order to have an interactive background on one of the sections. Two questions, what’s the best way to include library in XTheme? It requires at least Jquery 2.0 (<script src=”https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js”></script>) but X seems to have 1.X so I would need to override it.
Also, as you can see from the github page the way to insert the background image is writing it in the div class like <div class=”bg” data-ibg-bg=”bg.jpg”></div> – how could I do this on a cornerstone page?
Thanks!
October 5, 2016 at 8:24 pm #1204344
FriechModeratorHi There,
While that is outside the scope of support, I could point you in the right direction with the understanding that it would ultimately be your responsibility to take it from here.
#1 No, x does not have that file, the WordPress itself does. Adding that version might cause an issue/conflict to the WordPress itself. It could be possible with custom development, but this would be outside the scope of support we can offer. You may wish to consult a developer to assist you with this.
#2 Plain HTML tags can be added on a RAW content element of Cornerstone.
Thank you for understanding.
October 6, 2016 at 11:41 am #1205308
espyParticipantThanks for the advice, I’ll probably just roll with a custom theme for this one 😉
October 6, 2016 at 12:37 pm #1205417
RahulModeratorYou’re most welcome, Espy!
Let us know if you need any further help.
Thank you.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1204128 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
