Casper Theme - Removing sign in button in Ghost 4.0

Hello, how do I remove the sign in/sign up buttons in the Casper theme header and footer using the CSS code injection while keeping the subscription buttons?

would someone be able to help?

I don’t have a Ghost 4.x install handy. If you share your url, I can probably help.

To remove the login or sign in buttons on the front page of your site, go to “settings” and “memberships” set the function to “nobody” so that the buttons disappear.

Thank you for the help

In Settings > Membership > Subscription Access… select

Then, in the Settings > Code injection > Site Header… paste this CSS…

<style>
a.gh-head-button.gh-portal-close,
li.nav-sign-up.nav-current {
    display: none;
}
</style>