Support » Theme: SmartShop » IE stylesheet not found

  • Resolved RavanH

    (@ravanh)



    Hi,

    The line in header.php

    <!--[if lte IE 9]><link rel="stylesheet" href="<?php get_stylesheet_directory_uri(); ?>/css/ie.css" type="text/css" media="screen" /><![endif]-->

    causes a 404 because href=”/css/ie.css” goes nowhere. It’s missing an PHP echo and /assets/ in the path.

    The line should be:

    <!--[if lte IE 9]><link rel="stylesheet" href="<?php echo get_stylesheet_directory_uri(); ?>/assets/css/ie.css" type="text/css" media="screen" /><![endif]-->

    Cheers 🙂

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘IE stylesheet not found’ is closed to new replies.