pfefferle / SemPress

A highly semantic WordPress Theme with HTML5 templates, responsive and seo optimized. SemPress supports most of the new HTML5 tags, the new HTML5 input-types, microformats, microformats v2 and microdata (Schema.org).
http://wordpress.org/themes/sempress
GNU General Public License v3.0
141 stars 30 forks source link

Featured image to small for full width pages #90

Closed metbril closed 2 years ago

metbril commented 2 years ago

When using the full width page template (no sidebar), a featured image is only as wide as the regular content. It should be stretched to fit the full width of the page at 950 pixels.

Example: https://robertvanbregt.nl/nu/

{402903B8-FFF2-4A4E-9530-424D7E06B482}

pfefferle commented 2 years ago

Have you uploaded the image before the change to full-width?

metbril commented 2 years ago

Yes. I used to use the small page width.

Workflow:

  1. Upload image from computer to media library
  2. Edit page and add featured image
  3. Publish
  4. Edit page and set page template to full width
  5. Publish
pfefferle commented 2 years ago

Can you re-add the featured image and check if it works then?

metbril commented 2 years ago

I've tried without success. The image is 2500 pixels wide.

https://robertvanbregt.nl/echo-grid-xqs7sotiuvg-unsplash/

  1. Edit page
  2. Remove featured image
  3. Publish page
  4. Add featured image
  5. Publish page
  6. View page

FD516460-6839-4ADE-90FC-60B25C887B79

pfefferle commented 2 years ago

Ok, that's not like expected, thanks for debugging!