Make WordPress Core

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#38472 closed defect (bug) (fixed)

Twenty Seventeen: Improve front end display in Internet Explorer 8

Reported by: adamsilverstein's profile adamsilverstein Owned by: davidakennedy's profile davidakennedy
Milestone: 4.7 Priority: normal
Severity: normal Version: 4.7
Component: Bundled Theme Keywords: has-screenshots has-patch
Focuses: Cc:

Description (last modified by adamsilverstein)

Twenty Seventeen "should look okay and be functional" in IE8. We are not aiming for perfect.

I did some testing in Browserstack and noticed several issues I hope we can fix these as they make the theme pretty unusable for ie8 users.

Starting with the home page:

  • Site title missing style and at top instead of bottom of page
  • Menu located mid-page
  • No indication of more content below

https://cl.ly/41262v0X2b2k/Image%202016-10-24%20at%2010.42.19%20AM.png

Setting a static front page results in that page's content overlapping the home page image:

https://cl.ly/041I0h2q3w0v/Dashboard_2016-10-24_10-48-22.jpg

The menu functions, however I'm getting the mobile menu, and the SVG icons are missing (hamburger bars and close):

https://cl.ly/2J3u2e3L2A2T/Dashboard_2016-10-24_10-45-19.jpg

Single posts show the full size splash image (not just the header bar), and the content is completely missing (not visible):

https://cl.ly/0h331n2E212x/Dashboard_2016-10-24_11-15-29.jpg

Screencast: https://cl.ly/2o3n163Q0543

It looks like the issue here is the header background image is covering the entire page content... using ie debug tools i removed the custom-header-image div's background image, revealing the page content below, although the sidebars also appear to be missing in action (removing the image in the customizer also made the content visible in ie8)

https://cl.ly/3o1A3r3F0u3C/Dashboard_2016-10-24_10-56-25.jpg

Compared to the correct appearance in chrome:

https://cl.ly/2z1h3N190h3N/Hello_world__wpdev_2016-10-24_11-00-12.jpg

Attachments (1)

38472.patch (4.7 KB) - added by laurelfulford 8 years ago.
Update IE8 styles.

Download all attachments as: .zip

Change History (10)

This ticket was mentioned in Slack in #core-themes by adamsilverstein. View the logs.


8 years ago

#2 @adamsilverstein
8 years ago

  • Milestone changed from Awaiting Review to 4.7

#3 @adamsilverstein
8 years ago

  • Description modified (diff)
  • Summary changed from Twentyseventeen - improve front end display in Internet Explorer 8 to Twenty Seventeen - improve front end display in Internet Explorer 8

#4 @sami.keijonen
8 years ago

  • Summary changed from Twenty Seventeen - improve front end display in Internet Explorer 8 to Twentyseventeen - improve front end display in Internet Explorer 8

I can see the same issues. They were not there when I last checked about 4-6 days ago. I'm not sure what have changed after that. Could be IE8 CSS or header image CSS or both.

#5 @sami.keijonen
8 years ago

With this small IE8 CSS change by removing height most of the issues disappear.

.custom-header-image,
.panel-image {
	max-height: 1000px;
	padding-top: 0;
}

#6 @davidakennedy
8 years ago

  • Component changed from Themes to Bundled Theme

@laurelfulford
8 years ago

Update IE8 styles.

#7 @laurelfulford
8 years ago

  • Keywords has-patch added; needs-patch removed

In 38472.patch, I added styles that fix the display issues with the header, and get the font sizes a bit more consistent with how it looks like other browsers. The header doesn't look exactly like it does in newer browsers, but it's closer and doesn't affect the site's legibility anymore :)

I also adjusted the vertical spacing overall.

Like Twenty Sixteen, Twenty Seventeen's CSS has the larger screen styles in @media queries, meaning browsers that don't understand @media queries (like IE8) will look more like mobile browsers. This is most noticeable in things like the menu styles and single-column layout. It doesn't affect the theme's usability, though, so I think it should be okay, and saves having to rewrite those styles again for IE8. I've left this bit as is.

IE8 doesn't support SVGs, so it's using the fallback styles for some of the icons. The fallbacks are limited to the absolutely necessary icons - so there is one for the submenu dropdown toggle icon, but not for the little 'hamburger' and X that sit in front of the 'menu' button. I haven't changed the fallback support, but I tried to improve the appearance/placement of the dropdown toggle used in the menu.

It may need a bit more refining - just let me know!

#8 @davidakennedy
8 years ago

  • Owner set to davidakennedy
  • Resolution set to fixed
  • Status changed from new to closed

In 38962:

Twenty Seventeen: Improve front end display in Internet Explorer 8

  • Fixes the display issues with the header. The header doesn't look exactly like it does in newer browsers, but it's closer.
  • Gets the font sizes a bit more consistent with how it looks like other browsers.
  • IE8 doesn't support SVGs, so it's using the fallback styles for some of the icons. The fallbacks are limited to the absolutely necessary icons - so there is one for the submenu dropdown toggle icon, but not for the little 'hamburger' and X that sit in front of the 'menu' button.

Props laurelfulford.

Fixes #38472.

#9 @SergeyBiryukov
8 years ago

  • Summary changed from Twentyseventeen - improve front end display in Internet Explorer 8 to Twenty Seventeen: Improve front end display in Internet Explorer 8
Note: See TracTickets for help on using tickets.