ACF Fields not responsive
-
Hi,
I have adapted a custom field called “video” for WP YouTube Lyte.
Code to get url for Video form ACF in my template used to be:
echoDivWithContent(“item2”, $row[“video”]);
which I have changed it to:
if (function_exists(‘lyte_preparse’)) {
$lyte_output = lyte_preparse($row[“video”]);
$lyte_output_cleaned = str_replace(‘httpv://www.youtube.com/watch?v=’, ”, $lyte_output);
echo ‘
‘; echo $lyte_output_cleaned; echo ”;
}Which works nicely and it seems like the lyte-preparse functions works. However, while the videos are responsive on other post outside ACF fields, they are not responsive here when emebedded in the custom fields.
Any hint how to change this? CSS does not seem the right track?
Best, KThe page I need help with: [log in to see the link]
- The topic ‘ACF Fields not responsive’ is closed to new replies.