Public Ticket #1660881
help with a widget


  • Michelle started the conversation

    Hi!  I'd like to add a widget that allows me to post links that have a hover component that brings up information (for world of warcraft) - the script needs to be added to the <head> component, but I know it's a bit different for ghost themes.  Where would I put this widget?  Here is an example page that shows what I'm trying to do: http://www.wowhead.com/tooltips  if you see in the first step it says to add that script line.  Where in the theme would I add this?  Just trying to make sure :)

    Instructions to add script to your page: 

    1. Add this piece of HTML code in the <head> section of your page:
      <script>var whTooltips = {colorLinks: true, iconizeLinks: true, renameLinks: true};</script><script src="//wow.zamimg.com/widgets/power.js"></script>
    2. You are done!

    Thank you!

  •  162
    Estudio replied

    Hi!, thank you for contact us!, code customization is not included on support but i will try to guide you on how install any custom code that you want (scripts).

    In this case you should edit reco/default.hbs and install that code after scripts.min.js like the next screenshot: 

    I tested on my local environment and it's working properly:

    Hope this may help you!

    Don't forget to rate us if you like the template!