# Ribbon for member card

**URL:** <https://forum.ghost.org/t/ribbon-for-member-card/40705>\
**Category:** Themes\
**Created:** [August 24, 2023, 7:52am UTC](https://forum.ghost.org/t/ribbon-for-member-card/40705 "2023-08-24T07:52:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![iero](https://avatars.discourse-cdn.com/v4/letter/i/41988e/32.png) [@iero](https://forum.ghost.org/u/iero)\
**Post date:** [August 24, 2023, 7:52am UTC](https://forum.ghost.org/t/ribbon-for-member-card/40705/1 "2023-08-24T07:52:31Z")

</div>

Hello

When connected as a “member”, I would like to see the “members” posts with a specific ribbon. All other open posts without specific text :

[https://www.cssportal.com/css-ribbon-generator/](https://www.cssportal.com/css-ribbon-generator/)

I saw that posts have a visibility parameter. So I tried to add a #Memberships & subscriptions tag first in partials/post-card.hbs but it doesn’t work:

```auto
            <header class="post-card-header">
                {{#if primary_tag}}
                    {{#primary_tag}}
                    {{#has visibility="member"}}
                        <div class="post-card-primary-tag">{{name}} #members</div>
                    {{/has}}
                    {{/primary_tag}}
                {{/if}}
                <h2 class="post-card-title">{{title}}</h2>
            </header>

```

Any idea how to proceed?

Best

---

<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 24, 2023, 10:56am UTC](https://forum.ghost.org/t/ribbon-for-member-card/40705/2 "2023-08-24T10:56:37Z")

</div>

That logic shows that the style only gets applied if there’s a tag on the post. Is there a tag on the post?

Are you getting the Div but the name is blank? Or what’s happening.

Depending on how you run Ghost, you may need to restart to see the change also …

---

<div class="post-metadata">

**Author:** ![iero](https://avatars.discourse-cdn.com/v4/letter/i/41988e/32.png) [@iero](https://forum.ghost.org/u/iero)\
**Post date:** [August 26, 2023, 1:15pm UTC](https://forum.ghost.org/t/ribbon-for-member-card/40705/3 "2023-08-26T13:15:32Z")

</div>

Hi @Cathy_Sarisky

Thanks for your answer. I restarted ghost but when I’m visiting the website as a member, I don’t get the div, it’s blank.

I suspect that partial/post-card does not have a “visibility” parameter?
