Possible to use different custom CSS based on contact embedded data?

chasemclchasemcl Community Member Guru ✭✭

Possible to use different custom CSS based on contact embedded data?

Background: There are some instances where we use custom CSS to remove the logo from our dynamic theme and add in a different logo. Historically this process has only been done on certain surveys and all the contacts received the survey with the edited look and feel. Now we have a survey where we want some contacts to have our dynamic theme and some to have these unique themes with the alternate logos. This will be an ongoing survey that is sent out when triggered.

Is there any way to trigger the CSS to changed based on contact information?

Best Answer

  • KoalaTricksKoalaTricks BostonCommunity Member Guru ✭✭
    Accepted Answer

    @chasemcl Have you tried:

    1. Associating the stylesheet with the contact list as a field or via URL, e.g.:
      Name Email stylesheet
      A [email protected] old
      b [email protected] new

    or survey.com?stylesheet=old

    1. Referencing the stylesheet via embedded data based on the "stylesheet" field (${e://Field/stylesheet} or whatever it is for contact list fields) in the header? Like below but the field is for the stylesheet instead of email:

Sign In to Comment