Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1204128
    espy
    Participant

    Hey 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&gt;) 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!

    #1204344
    Friech
    Moderator

    Hi 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.

    #1205308
    espy
    Participant

    Thanks for the advice, I’ll probably just roll with a custom theme for this one 😉

    #1205417
    Rahul
    Moderator

    You’re most welcome, Espy!

    Let us know if you need any further help.

    Thank you.

  • <script> jQuery(function($){ $("#no-reply-1204128 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>