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
alyssamwilie
Solution
Recognized Expert | Elite Partner
Recognized Expert | 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 Profile Image

Alyssa Wilie

Web Developerat Lynton

Learn HubL | Get Marketing Insights

HubSpot Elite Solutions Partner
Lynton's HubSpot theme Rubric now available. Click to download.

View solution in original post

2 Replies 2
CHutt5
Member

Custom subscription list on "manage preferences" page.

SOLVE

Hi,

 

Is the above css still valid?

 

The 'item-inner' doesnt have the '.selected' class

CHutt5_0-1683631074391.png

 

0 Upvotes
alyssamwilie
Solution
Recognized Expert | Elite Partner
Recognized Expert | 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 Profile Image

Alyssa Wilie

Web Developerat Lynton

Learn HubL | Get Marketing Insights

HubSpot Elite Solutions Partner
Lynton's HubSpot theme Rubric now available. Click to download.