• Resolved samwp1

    (@samwp1)


    My post slider works pretty well on desktop, but on mobile view doesn’t work as expected.

    1. I want to keep the same aspect ratio for the featured image on the mobile same as the desktop view. Can you please help me to do that?
    2. Is it also applicable to post carousel blocks?
    3. Also, Is it possible to remove or reduce the excerpt on this featured image?

    Here are the screenshots

Viewing 1 replies (of 1 total)
  • Plugin Support eugenewhite

    (@eugenewhite)

    Hello there! 

    Sorry for the delayed response.

    Please be informed that at this moment there’s no plugin or block option that allows keeping the same aspect ratio of featured images on different screen resolutions, unfortunately. So in this case, I may only suggest you limit the slider height with a custom CSS code like this one:

    @media (max-width: 600px){
      .wp-block-getwid-post-slider .slick-track>*{
      max-height: 300px;
    }}

    You will need to check how it works in your particular case. 

    As for the excerpt, there’s no option to leave original post excerpts and only limit the number of symbols in these blocks. So here I can suggest you shorten your excerpts by editing them in your posts. 

Viewing 1 replies (of 1 total)
  • The topic ‘Post slider aspect ratio’ is closed to new replies.