Commit 341b71ae by rajshah

try: widget inline css

parent 0dd1fa9b
...@@ -23,11 +23,11 @@ ...@@ -23,11 +23,11 @@
<?php foreach ($review_items as $i => $item): <?php foreach ($review_items as $i => $item):
$widget = $item['widget'] ?? ''; $widget = $item['widget'] ?? '';
if (empty($widget)) continue; if (empty($widget)) continue;
if($i === 1) { if ($i === 1) {
$widget = do_shortcode($widget); $widget = do_shortcode($widget);
}; };
?> ?>
<div class="review bg-white rounded-2"> <div class="review bg-white rounded-2" style="max-width: 205px; padding: 8px; border-radius: 4px; justify-content: center; align-items: center;">
<?php echo $widget; ?> <?php echo $widget; ?>
</div> </div>
<?php endforeach; ?> <?php endforeach; ?>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment