[Resolved] Internet Explorer issues

Home Forums Support [Resolved] Internet Explorer issues

Home Forums Support Internet Explorer issues

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #1728193
    George

    I know that Internet Explorer is outdated but the latest site I’ve built looks terrible on IE (I am testing on Version 20H2 OS Build 19042.870 on Win 10). Especially the header and the logo grid in the footer. Is there a way to improve things?

    #1729008
    Tom
    Lead Developer
    Lead Developer

    Just to confirm, is this IE11? I’ll need to check on my office computer (Windows). IE11 shouldn’t have any issues with Flexbox, but at the same time, it is IE.

    #1729030
    George

    This is the IE version:

    View post on imgur.com

    But I checked the latest IE11 version on BrowserStack and it has the same issues.

    #1733090
    Tom
    Lead Developer
    Lead Developer

    Sorry for the delay here.

    Alright, let’s try this:

    1. Set the navigation alignment to “Left”.
    2. Add this CSS:

    .navigation-branding img,
    .site-logo.mobile-header-logo img {
        width: 168px;
    }

    Let me know ๐Ÿ™‚

    #1733129
    George

    Done. Now the nav is aligned on the left, though, should be on the right. I have attached a staging link where I do my testing.

    #1734731
    Elvin
    Staff
    Customer Support

    Hi there,

    Try adding this CSS:

    nav#site-navigation .inside-navigation .navigation-branding {
        margin-right: auto;
    }
    
    nav#site-navigation .inside-navigation .menu-bar-items {
        margin-left: unset;
    }
    #1736741
    George

    Now the menu is centered for IE. Better than nothing, I guess. The logo footer grid is also not showing at its best!

    #1737363
    Tom
    Lead Developer
    Lead Developer

    I’m not seeing any of the changes made to the navigation – did you revert them?

    As for the logos – very weird. Does the same thing happen with regular non-SVG images?

    #1737391
    George

    CSS currently used:

    .navigation-branding img,
    .site-logo.mobile-header-logo img {
        width: 168px;
    }
    
    nav#site-navigation .inside-navigation .navigation-branding {
        margin-right: auto;
    }
    
    nav#site-navigation .inside-navigation .menu-bar-items {
        margin-left: unset;
    }

    I have just replaced SVG logos with PNGs, it looks better with them. Wonder what the issue might be with SVGs, though.

    #1738204
    Tom
    Lead Developer
    Lead Developer

    IE doesn’t like unset, so you need to do this:

    nav#site-navigation .inside-navigation .menu-bar-items {
        margin-left: 0;
    }

    As for the SVGs, it’s IE. You may need to explicitly set the width and height attributes, but I’m not even sure that will fix it. Luckily, WordPress itself will be dropping support for IE11 soon and we can all forget about it once and for all ๐Ÿ™‚

    #1738420
    George

    New CSS fixed the menu, thank you, Tom. Seems like the submenu alignment got affected as well, though.

    The height: auto statement for the img attribute seems to be doing the “damage” for IE on the grid. Do you think there is something I could do? I have attached a video.

    #1741943
    Tom
    Lead Developer
    Lead Developer

    Seeing as IE doesn’t accept unset as a property value, I’m not sure there is a solution here, at least not an elegant one..

    You could give each image a fixed height in the style="" attribute – this would overwrite the auto value.

    #1823519
    George

    Yeah, I think I’ll leave it at that, fingers crossed! Thanks, Tom!

    #1824827
    Tom
    Lead Developer
    Lead Developer

    No problem!

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