|

Javascript Position Issue

This is another quick fix.

I added a new Sectigo security certificate to my ecommerce set, https://energiondirect.com. The certificate provides a seal which provided information to users. There’s a bit of Javascript Code to put into the header, and then some to be put in the body.

My actual seal kept appearing at the bottom of the site below the footer, rather than in the header. I struggled with this for some time, wondering what I was doing wrong.

The solution was simple: A cache that delayed non-essential Javascript. I turned that off, found it had only a minor impact on load times, and just left it off.

Similar Posts

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.