Customize/Design homepage

Hello there. i wish to take off the subscriber button on my homepage center. it doesn’t seem to go off even when i switch the “show portal button” off .

The portal button setting is not linked to this element.

You can either remove the code in the hbs template, or you can do it by adding some CSS in code injection. Are you using an official theme?

1 Like

I’m looking for the same in Headline.

What could be the better approach to do that? I want to hide Subscribe button only in homepage (because we are using a first screen like Substack).

Do you mean the Subscribe button on the top right (in the header)?
If yes, then you can try this:

<style>.home-template .gh-head-btn { display: none; }</style>
1 Like

Nop, I mean the floating one on the bottom right.

We need to fork Portal for this or there is some workaround?

That can be turned off from the Portal settings.
Settings > Membership > Customize Portal

I just want to keep it switched off on homepage, not on the whole site.

You should be able to add this CSS to Code InjectionSite Header:

<style>
.home-template #ghost-portal-root {
  display: none;
}
</style>
2 Likes