Support » Theme: Material Design Google » Image size on homepage

  • Hi,

    I’m using

    WordPress 5.6.2
    Material Design Google Version: 0.1.3

    The images of blog posts on homepage are inserted as background-image.

    The problem is, the original images are used for that, independent from device screen size or pixel ratio.

    Would be great, if the theme could somehow use image srcset here.

    Thanks for help


    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Hi @asadilek

    Thanks for reaching out. The image in the card layout is being set as a background-image to maintain the aspect ratio across all cards. We will look into solutions for using an img tag so WordPress can use srcset while also maintaining the aspect ratio.

Viewing 1 replies (of 1 total)
  • The topic ‘Image size on homepage’ is closed to new replies.