Style variants and targeting | Community
Skip to main content
Level 2
November 4, 2022
Solved

Style variants and targeting

  • November 4, 2022
  • 1 reply
  • 610 views

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.
Best answer by arunpatidar

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.

1 reply

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
November 5, 2022

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