Image instead of Header Text code not working


First off, thanks for the amazing theme and support forums, they’ve been really helpful for building my site. However, today I’ve encountered my first problem that I couldn’t find an answer or fix for.

Previously, I used a piece of JavaScript I found on the forums to replace the header text on my site with an image. It worked fine until a couple days ago, when the image vanished. I’m not sure what has happened, as I don’t recall changing anything. I’ve attached below a screenshot where the image should be.

This is the JS I have in the field:

> jQuery('.header-text').html`('<img src="">');`
> });

Do you have any idea what could be wrong?

Thanks in advance,

Your JS code outputs nothing because it’s invalid. Try replacing it with this:


      "use strict"

      $('.header-text').html('<img src="">');



That did the trick, thanks so much for the quick reply! I’m not very well versed with JS, I was pretty sure that was the source of my problem.

No worries! Please let us know in a new topic if you have any further questions, or if we can provide you with any other assistance.