How do i change the bottom "sign up now" text here using ghost pro code injection? using headline theme

If you use a plan that supports custom themes, it would be better to change that text by editing your theme, instead of code injection. With code injection, you can write a JavaScript code to find and replace that text on client side. So basically page will load with current text and then changed by the code shortly after.

A basic JS code you can use is:

<script>
document.querySelector('.gh-subscribe-description').innerHTML = 'Whatever text you want';
</script>

You can put this to footer.

unfortunately that didnt work but i appreciate it nonetheless:)

the above might still work, the code above might not be using the element id depending on the theme you are using. open dev tools in your browser and use the selector tool to highlight over the text to find the element class name and try to put that in where .gh-subscribe-description was mentioned above. Alternatively you’d have to edit the theme code.

1 Like