I'm wondering if there is a way to make the background image different based on a contact's (company's) Industry.
Is there a way to us HubL if statements for a company's industry?
Basically something like:
If a company's industry is LOGISTICS,
<style>
.hero {
background: a custom image for logistics companies;
}
</style>
else
<style>
.hero {
background-image:url("{{widget_data.background_image.src }}");
</style>
Thank you for the reply! I was very close. I'm familiar with the if/else markup but did not see "company.bla" listed as an option under General Supported Variables. I was trying "account.industry"
Thank you so much for clarifying that for me! Seems to be working.