Support » Plugin: Post Grid Elementor Addon » Add different alignment for Image and Excerpt

  • Resolved dsaraiva

    (@dsaraiva)


    hi there!

    When using the Layout 5, I would like to align the text to left, but the image to the middle. Right now, they are all one block.

    Can it be supported in the future?

    For now, I just edited line 987 of post-grid.php, I changed from:

    if ( has_post_thumbnail() ) :  ?>
       <div class="post-grid-thumbnail">

    to

    if ( has_post_thumbnail() ) :  ?>
       <div class="post-grid-thumbnail" style="text-align:center">

    Like this, all the images will be centered. Its only a workaround, but it would be nice to add the option of how to align the images.

    Thank you a lot!

    • This topic was modified 7 months, 3 weeks ago by dsaraiva.
    • This topic was modified 7 months, 3 weeks ago by dsaraiva.
    • This topic was modified 7 months, 3 weeks ago by dsaraiva.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Add different alignment for Image and Excerpt’ is closed to new replies.