Tagged: 

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #1270155

    Hi,
    All thumbnails aren’t responsive, unfortunately, i.e. in a category, in a post slider etc.
    Could you please help me to fix that issue?
    I can send you screenshots if you need them.
    Enfold ver. 4.7.6.4
    PHP ver. 7.3.25
    WordPress ver. 5.5.3

    Thanks a lot.

    #1270300

    Hey jewsforjesus,

    Could you post a link to where we can see this problem on your actual site please? You can upload screenshots to a service like Google Drive or Dropbox, then link to them here.

    Best regards,
    Rikard

    #1270395

    Hi Rikard,
    Thanks for answering.
    Please find attached links in the private message.
    Thank you.

    #1270526

    Hi,

    Thanks for the update and screenshots. I’m not sure I understand what is wrong with your images though, could you try to explain the problem a bit further please?

    Best regards,
    Rikard

    #1270581

    Hi Rikard,
    As you can see, images aren’t responsive, the text on them has cropped as well as the image itself.
    As an example, I upload two images to Google Drive again and you can compare them, original and cropped.
    You can find another two images on Google Drive.
    Thank you.

    #1271034

    Hi Rikard,

    Could you please give me your answer?

    Thank you.

    #1271062

    Hi,

    Sorry for the delay. The grid in the archive page is currently using the portfolio thumbnail and by default, the crop option for this thumbnail is enabled, so images may get cut off if the original image does not have the same aspect ratio as the thumbnail. If you want to prevent this from happening, you have to disable the crop option for the portfolio thumbnail. To do that, we have to add this snippet in the functions.php file.

    
    function ava_enfold_image_sizes() {
      remove_image_size('portfolio'); 
      add_image_size('portfolio', 495, 400, false );
    }
    add_action('init', 'ava_enfold_image_sizes');
    

    After adding the snippet, try to refresh the page, then upload the images again or regenerate the thumbnails using the following plugin.

    // https://wordpress.org/plugins/regenerate-thumbnails/

    Best regards,
    Ismael

    #1271131

    Hi Ismael,
    Thank you so much!
    Have a good day :-)

    #1271301

    Hi,

    Great, I’m glad that Ismael could help you out. Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.