Inject copyright into Source theme footer

I was able to use this to change the footer on a local instance of ghost, but when I go to the site (Pro hosting until I can get other things taken care of), it doesn’t do anything. Any ideas? (sorry about the funky returns, interface was stripping the style html)

<style> .gh-footer-copyright { Copyright 2025 by (my company)</br> Powered by <a href="https://ghost.org/" target="_blank" rel="noopener">Ghost</a> } </style>

Also tried modifying gh-footer-logo is-title to add the copyright under the site name. Again: worked in local instance, not on live site.

I think you are not able to edit your theme (maybe you are in starter plan), and try to inject your copyright notice via CSS with Code Injection, right?

If so, your code is not valid. I don’t know how it works on your local.

You can try something like:

<style>
  .gh-footer-copyright::before {
    content: 'Copyright 2025 by (my company)';
    display: block;
  }
</style>

But be aware that, injecting text content with CSS is not a good method. This text will be probably ignored by bots like search engines. But you may accept this trade-off.

That worked! thank you!

I’m on the publisher level, not the starter. I’m not ready to do more than bare minimum to tailor the theme, and it wouldn’t let me overwrite. A day later, of course I should have uploaded a new theme; I have it in my head that I won’t do that until I can set up staging and my own hosting. Some drama with the last theme I threw in the dumpster and wished I could set aflame, I just want solid code for a while. ;)

1 Like