CMS Development

milos_peric
Member | Platinum Partner
Member | Platinum Partner

Custom subscription list on "manage preferences" page.

SOLVE

Hello,


Is there a way to filter what subscription types will be listed on manage preferences page? Basically, if user is subscribed to marketing emails for example, only those will be listed and not all subscription types.Screenshot_1.png

0 Upvotes
1 Accepted solution
amwilie
Solution
Key Advisor | Elite Partner
Key Advisor | Elite Partner

Custom subscription list on "manage preferences" page.

SOLVE

Hey @milos_peric ,

Hubspot adds a 'selected' class to the subscription types that are selected (subscribed to) so you can just add the following CSS to your page to only show subscriptions the user is currently subscribed to:

.item-inner:not(.selected) {
    display: none;
}

If this answer solved your question, please mark it as the solution!

Alyssa Wilie

Web Developer at Lynton

Kickstart your success on HubSpot's CMS with a theme by the HubSpot experts at Lynton

 

View solution in original post

1 Reply 1
amwilie
Solution
Key Advisor | Elite Partner
Key Advisor | Elite Partner

Custom subscription list on "manage preferences" page.

SOLVE

Hey @milos_peric ,

Hubspot adds a 'selected' class to the subscription types that are selected (subscribed to) so you can just add the following CSS to your page to only show subscriptions the user is currently subscribed to:

.item-inner:not(.selected) {
    display: none;
}

If this answer solved your question, please mark it as the solution!

Alyssa Wilie

Web Developer at Lynton

Kickstart your success on HubSpot's CMS with a theme by the HubSpot experts at Lynton