# How to tweak the Ghost Portal text?

**URL:** <https://forum.ghost.org/t/how-to-tweak-the-ghost-portal-text/60255>\
**Category:** Developer help\
**Created:** [September 24, 2025, 2:17pm UTC](https://forum.ghost.org/t/how-to-tweak-the-ghost-portal-text/60255 "2025-09-24T14:17:27Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![hackermade](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/hackermade/32/33939_2.png) [@hackermade](https://forum.ghost.org/u/hackermade)\
**Post date:** [September 24, 2025, 2:17pm UTC](https://forum.ghost.org/t/how-to-tweak-the-ghost-portal-text/60255/1 "2025-09-24T14:17:27Z")

</div>

Greetings, i want to remove the parenthesis and change the placeholders (name and email) fields in the Portal to make it cleaner, is this possible?

 ![Screenshot 2025-09-24 at 17.10.16](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/3X/d/a/da2ef69071881df4def48fb550ef5eda3df576f9.png)

Thanks!

---

<div class="post-metadata">

**Author:** ![The\_Jetsetter\_Cheap](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/the_jetsetter_cheap/32/24019_2.png) [@The\_Jetsetter\_Cheap](https://forum.ghost.org/u/The_Jetsetter_Cheap)\
**Post date:** [September 28, 2025, 12:36am UTC](https://forum.ghost.org/t/how-to-tweak-the-ghost-portal-text/60255/2 "2025-09-28T00:36:19Z")

</div>

You haven’t said what you are trying to do, but if you just want to change that it says there, you can inject this code. Remove “(Save 17%)” withwhatever you want there.

portgal-discount is the class to target

```auto
<script>
document.addEventListener("DOMContentLoaded", function() {
  document.querySelectorAll('[class*="portal-discount"]').forEach(el => {
    el.textContent = "Save 17%";
  });
});
</script>

```

---

<div class="post-metadata">

**Author:** ![Cathy\_Sarisky](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/cathy_sarisky/32/25750_2.png) [@Cathy\_Sarisky](https://forum.ghost.org/u/Cathy_Sarisky)\
**Post date:** [September 28, 2025, 1:36pm UTC](https://forum.ghost.org/t/how-to-tweak-the-ghost-portal-text/60255/3 "2025-09-28T13:36:24Z")

</div>

I’d be surprised if that worked, since Portal runs in an iframe and that text isn’t necessarily there when the page first loads.

@hackermade My experience is that there’s not a super straightforward way to edit text within the portal, unless you want to edit and build a custom copy. (Which is not too bad to do, but you’d need to keep your custom copy updated with your Ghost version, when Ghost makes changes that impact it.)

---

<div class="post-metadata">

**Author:** ![hackermade](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/hackermade/32/33939_2.png) [@hackermade](https://forum.ghost.org/u/hackermade)\
**Post date:** [October 14, 2025, 7:19pm UTC](https://forum.ghost.org/t/how-to-tweak-the-ghost-portal-text/60255/4 "2025-10-14T19:19:09Z")

</div>

Why an open source project restrict some part of it in that way?

---

<div class="post-metadata">

**Author:** ![Cathy\_Sarisky](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/cathy_sarisky/32/25750_2.png) [@Cathy\_Sarisky](https://forum.ghost.org/u/Cathy_Sarisky)\
**Post date:** [October 14, 2025, 7:26pm UTC](https://forum.ghost.org/t/how-to-tweak-the-ghost-portal-text/60255/5 "2025-10-14T19:26:03Z")

</div>

You’re not restricted. Fork the source code, make your edits, and then build your custom version of portal. (Works anywhere, directions for how will vary with hosting environment.)

---

<div class="post-metadata">

**Author:** ![hackermade](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/hackermade/32/33939_2.png) [@hackermade](https://forum.ghost.org/u/hackermade)\
**Post date:** [October 14, 2025, 8:02pm UTC](https://forum.ghost.org/t/how-to-tweak-the-ghost-portal-text/60255/6 "2025-10-14T20:02:46Z")

</div>

Will i have any issue with update and change in the future? I use Docker with the official Ghost image btw

---

<div class="post-metadata">

**Author:** ![Cathy\_Sarisky](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/cathy_sarisky/32/25750_2.png) [@Cathy\_Sarisky](https://forum.ghost.org/u/Cathy_Sarisky)\
**Post date:** [October 14, 2025, 9:19pm UTC](https://forum.ghost.org/t/how-to-tweak-the-ghost-portal-text/60255/7 "2025-10-14T21:19:55Z")

</div>

So I wouldn’t build all of Ghost from source, just the portal app. (The readme in apps/portal was somewhat helpful, IIRC.)

Then you’d put the built app somewhere (within the theme files works), and you’d set the portal URL within your Ghost config to load it from that URL instead of the default. See [Configuration - Ghost Developer Docs](https://docs.ghost.org/config#portal) - but you might need to translate that to portal\_\_url if using environment variables. 🙂

Will you have to update in the future? Yes. The Ghost team doesn’t change the interface between portal and and the Ghost API all that often, but it does happen (for example, when integrity tokens went in, and I know there are one time codes on the way). But since you self host, you’d presumably just sync your fork, rebuild portal and get it deployed, and pull the Ghost container, so that everything stayed in sync. I suspect that’s a 15 minute job once you get the hang of it, and you certainly don’t have to do it every week – you could wait until Ghost released a feature or bug fix you wanted, and then do it.

Another option if you’re just changing some text would be to skip all the building and just grab a copy of already minified portal, find and replace the strings, and then change your portal.url setting as above. That skips needing a whole Ghost development environment set up.

---

<div class="post-metadata">

**Author:** ![hackermade](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/hackermade/32/33939_2.png) [@hackermade](https://forum.ghost.org/u/hackermade)\
**Post date:** [May 3, 2026, 4:28pm UTC](https://forum.ghost.org/t/how-to-tweak-the-ghost-portal-text/60255/8 "2026-05-03T16:28:26Z")

</div>

I made what you said by modifying the comments and portal files from Ghost Core, but i notice that in the Greek translated section is mentioned as `FR` which i think is France and not Greece i think must be `GR` in this case. Can i do something for that, a PR maybe?

---

<div class="post-metadata">

**Author:** ![hackermade](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/hackermade/32/33939_2.png) [@hackermade](https://forum.ghost.org/u/hackermade)\
**Post date:** [May 3, 2026, 4:28pm UTC](https://forum.ghost.org/t/how-to-tweak-the-ghost-portal-text/60255/9 "2026-05-03T16:28:58Z")

</div>

![Screenshot 2026-05-03 at 19.24.27](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/3X/2/f/2fcab803bb80cc659c292a481b675714ea65f167.png)
