I am trying to control the file size from the feed but this is not working properly on the new GWD version.
Is someone having the same problem?
Thanks
Not sure if I've used the wrong string, but in my case my text is in a span and the binding seem to happen there:
bind-style-font-size="dynamic_data_file.column_name"
I used xx-large, pixel size and just round integers, but nothing seems to work.
bind-style-font-size="emily_test_font_size_data.0.cta_font_size"
Will do.
At the moment I discarded the option of controlling the text size via dynamic feed, as we need to change it only in a few instances and I can pass the style directly via the feed.
I'll give it a try as soon as we're done with this.
We're having other size issues (dynamic text gets resized automatically and we can't see how to override that) but I guess this problem will be for another topic.
Thanks!
Go to the tag: <gwd-text-helper id="gwd-text-helper_1" fit-font-size-for-selector="[bind-text],[bind-html]"></gwd-text-helper>
And remove fit-font-size-for-selector="[bind-text],[bind-html]
The final tag need to be:
<gwd-text-helper id="gwd-text-helper_1"></gwd-text-helper>
Cheers,
I've also checked that the binding code is as Emily details above, which it is.
All other elements controlled by the feed are binding and firing correctly apart from this.
I'm using Version 2.0.5.
I've edited the tag as you suggested and republished the creative and retransformed the feed.
Does the font size column in the feed need to be set up in any particular way? I've just got my font sizes listed as numbers, eg: '20', without any 'px', etc.
This has been set up as the default 'Whole Number' element under the 'Manage Data' tab. Should it be set to something else? Just want to eliminate any earlier steps where I may have messed up.
Many thanks
Ben