Distinctive image – a problem with width
-
Hi,
Probably since the last update, there is a problem in displaying the “distinctive image” on the home page with posts, in the “one column” / “latest entries” system. Namely, for example, for a page width of 1320px, previously a “distinctive picture” was displayed on the main page:
<picture>
<source media=”(max-width: 1152px)” sizes=”(max-width: 800px) 100vw,(max-width: 1152px) 100vw, 1320px” srcset=”https://xxx/image-512×200.jpg 512w”></source>
<source media=”(max-width: 800px)” sizes=”(max-width: 800px) 100vw,(max-width: 1152px) 100vw, 1320px” srcset=”https://xxx/image-800×200.jpg 800w”></source>
<img alt="alt" itemprop="url" src="https://xxx/image-909×200.jpg” />
</picture>and that was ok, and now for each article is:
<picture>
<source media=”(max-width: 1152px)” sizes=”(max-width: 800px) 100vw,(max-width: 1152px) 100vw, 1320px” srcset=”https://xxx/image-512×200.jpg 512w”></source>
<source media=”(max-width: 800px)” sizes=”(max-width: 800px) 100vw,(max-width: 1152px) 100vw, 1320px” srcset=”https://xxx/image-800×200.jpg 800w”></source>
<img alt="alt" itemprop="url" src="https://xxx/image-588×200.jpg” />
</picture>
- The topic ‘Distinctive image – a problem with width’ is closed to new replies.