Skip to content

Is there a way to insert javascript to display something at the bottom of header

Home Support Support Tickets Is there a way to insert javascript to display something at the bottom of header

Viewing 1 reply thread
  • Author
    Posts
    • #6817
      Susan Sadowsky
      Participant

      Hello,
      I was wondering if it is possible to insert javascript to display something at the bottom of the header. So far I have only been able to display something at the very top of the header which is at the very top of my page?
      Thank you.

      • This topic was modified 10 years, 9 months ago by Damian Baker.
    • #6830
      Damian Baker
      Participant

      Hi Susan,

      Thanks for your support question.
      You can certainly insert JavaScript at the bottom of the header. You need to enclose the JavaScript with the usual declaration tags:

      
      <script type="text/javascript">
      // your JavaScript code here
      </script>
      

      You can then assign your code block to the page or post that you need to, and so long as the output location hook is set to Header and not Footer, that is where it will be.

      If you want finer control of code placement, consider using CJT Shortcodes instead of say assigning your code block to a page or post in the Assignment Panel. The shortcode embedder button is situated in your page/post editor toolbar.

      If you tried this and need further help, feel free to email us on: support@css-javascript-toolbox.com
      Maybe send your website admin (or temp admin) login credentials, and provide more detail on what it is you are trying to do.

      Thanks,
      Damian

Viewing 1 reply thread
  • The topic ‘Is there a way to insert javascript to display something at the bottom of header’ is closed to new replies.