Okay
  Public Ticket #245909
Adding JavaScript Effect to One Page
Closed

Comments

  • Kelsey started the conversation

    Hello there!

    I found this really fun JavaScript effect (http://codepen.io/sol0mka/pen/Jsyxq) and I am wondering how I can add it to my home page (kelseyeaton.com)

    I tried to look at the Wordpress and Salient FAQ's and couldn't figure it out.

    Thank you so much for your help!

    Kels

  •  1,070
    ThemeNectar replied

    Hey Kels!

    Adding that into the theme would be the same process as adding it into any theme essentially - you'd need to add the css into the style.css or the  custom css box located in your Salient Options panel & the javascript would need to go in the init.js file (Located in the js folder). The HTML would then need to be added onto the page you wanted the effect (in the text tab of the editor)

    Cheers

  • Kelsey replied

    Awesome thank you so much!

  • Kelsey replied

    How do I upload just that init.js file without completely re-uploading the theme?

  •  8,839
    Tahir replied

    Hey !

    You can use the FTP . Please see FAQ: http://themenectar.ticksy.com/faq/2252 .

    Thanks


    ThemeNectar Support Team