# Editing the default theme

**URL:** <https://forum.ghost.org/t/editing-the-default-theme/49328>\
**Category:** Themes\
**Created:** [August 5, 2024, 8:21pm UTC](https://forum.ghost.org/t/editing-the-default-theme/49328 "2024-08-05T20:21:44Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Atharv\_Vadehra](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/atharv_vadehra/32/25411_2.png) [@Atharv\_Vadehra](https://forum.ghost.org/u/Atharv_Vadehra)\
**Post date:** [August 5, 2024, 8:21pm UTC](https://forum.ghost.org/t/editing-the-default-theme/49328/1 "2024-08-05T20:21:44Z")

</div>

I am using the journal theme. According to the Image attach below. I want to chang the Line “This site is invite-only, contact the owner for access.” using code injection.  
 ![iomage](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/3X/a/a/aab6d87b39f301d39d660611f40af45479090166.png)

---

<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:** [August 6, 2024, 12:10am UTC](https://forum.ghost.org/t/editing-the-default-theme/49328/2 "2024-08-06T00:10:34Z")

</div>

That code comes from Portal, and exists in an iframe. It’s not easy to target with theme injection, as a result.

A better approach may be to turn the portal button off (an option under settings), and to create your own popup instead.

---

<div class="post-metadata">

**Author:** ![Atharv\_Vadehra](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/atharv_vadehra/32/25411_2.png) [@Atharv\_Vadehra](https://forum.ghost.org/u/Atharv_Vadehra)\
**Post date:** [August 7, 2024, 11:44am UTC](https://forum.ghost.org/t/editing-the-default-theme/49328/3 "2024-08-07T11:44:07Z")

</div>

Can you help create ny own popup. Or if anyone has some resources that could help me do it.  
Regards

---

<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:** [August 7, 2024, 12:25pm UTC](https://forum.ghost.org/t/editing-the-default-theme/49328/4 "2024-08-07T12:25:46Z")

</div>

If you’re looking for paid help, the marketplace is a good place to post the request. Or you can check the Ghost Experts directory at [Ghost Experts](https://ghost.org/experts/)

---

<div class="post-metadata">

**Author:** ![Raki](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/raki/32/40808_2.png) [@Raki](https://forum.ghost.org/u/Raki)\
**Post date:** [August 9, 2024, 5:29pm UTC](https://forum.ghost.org/t/editing-the-default-theme/49328/5 "2024-08-09T17:29:36Z")

</div>

You can remove it by using code injection.  
Follow the steps in [my blog](https://blog.rakihub.com/remove-elements-in-ghost-portal/) and replace the `<element name>` with “gh-portal-invite-only-notification”,
