Style variants and targeting | Community
Skip to main content
Level 2
Nov 4, 2022 12:03 PM UTC
Solved

Style variants and targeting

HI All, 

 

I am trying to setup activity with two experiences. Experiences differ in component styles. For example, showing a teaser component with o round image variant or simple card mode. This need to be achieved from style system and pre-defined styles on teaser component. 

 

Problem is when I go into targeting mode style icon is not available on the component. How to achieve this ? 

 

 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
arunpatidar
arunpatidarAccepted solution
New Participant
Nov 5, 2022 2:17 PM UTC

Hi,

I don't think so towards targets it will work.

The reason is styles are stored within the policy node, not in the content, so target may not be able to resolve.

 

I would suggest to add this style option the the teaser component itself.

Arun Patidar

1 reply

arunpatidar
arunpatidarAccepted solution
New Participant
Nov 5, 2022 2:17 PM UTC

Hi,

I don't think so towards targets it will work.

The reason is styles are stored within the policy node, not in the content, so target may not be able to resolve.

 

I would suggest to add this style option the the teaser component itself.

Translate
Arun Patidar