I'm having a really strange problem with an EE if statement being used in conjunction with transcribe (may or may not be related).
I have a field that lets a user submit a hex colour to change the background colour of a box. By default it's red because of the style called "promoBox_red". On the english side of the site the entries are all applying the hex colour added in the entry via the IF statement. As soon as I switch to French the default style "promoBox_red" is what takes over. I can't even get the IF statement to run.
Any thoughts? Completely baffled.
{exp:channel:entries channel="footer_promos" limit="3"}
<div align="center" class="col-xs-4 promoBox_red" {if background_colour_hex_number_6_d !=""}style="background-color: #{hex_number};"{if:else}style="background-color: #ef4034;"{/if}>
<img src="{footer_promo_image}" alt="{title}" title="{title}">
<a href="{footer_promo_link}" class="btn btn-default btn-sm" role="button" title="{title}" style="margin-top: 20px;">{exp:transcribe:replace name="scribe_button_learn_more"}</a></p>
</div>
{/exp:channel:entries}
hex_number
, right? So what's the fieldbackground_colour_hex_number_6_d
?