API call dynamic data styling
Hey!
I have added a script to make an API call that displays returned data to a text element on my draft page (added a custom name of the text element to Settings>Styling>Advanced>CSS id)
The returned data loses the styling of the text field.
How do I make this text field retain the styling for the returned data?
Thanks!
-
Hi Warwick,
I believe it would be ideal if your script also took care of text styling. What if your script used CSS to style the text in the returned data?
0 -
Hey mate, thats a possibility though would be preferable to retain the styling attributes of that element for efficiency.
Cheers!
0 -
Hi Warwick,
Normally, we do not provide support for custom coding. It is difficult for us to provide helpful support because we do not know how you have developed the script to make the API call and how you are displaying the returned data within a Brizy Text element. I therefore proposed that you handle text styling also in your script.
0
Please sign in to leave a comment.
Comments
3 comments