Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7038077
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T01:37:33+00:00 2026-05-28T01:37:33+00:00

I know this question has been asked 100x but I can’t seem to find

  • 0

I know this question has been asked 100x but I can’t seem to find a solution in the other articles. I have gone through many support questions on here and other sites without resolve. I’m trying to add conditional IE statements to my WordPress theme for version 8 and under and then for 9. Here’s what my head section looks like (not sure why it’s not all showing one block of code on here.. sorry about that):

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

  <![endif]-->

  <!--[if gte IE 9]>
    <link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/ie9.css" media="screen" type="text/css" />
  <![endif]-->

I have tried just one statment using with no luck.
I also tried a direct link the css using the full URL.

When the page loads I see the way it should look using the ie.css (mainly I changed the background so it was obvious) and then it quickly changes to my default stylesheet. When I inspect using Firebug it shows it using the default stylesheet.
Any ideas?
thanks.

*****UPDATE****
I guess I needed to step away for the weekend. I realized today that the page I had been looking at was my home.php page I had set in WP. That was the only page on my site that wasn’t using the header.php file and had it’s only link to the stylesheets. Thus once I added the conditional statements to that page, it sees the IE style sheets now. I feel like a bonehead, but sometimes taking a step back can be the best answer. Thanks for the other replies though!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T01:37:33+00:00Added an answer on May 28, 2026 at 1:37 am

    I realized today that the page I had been looking at was my home.php page I had set in WP. That was the only page on my site that wasn’t using the header.php file and had it’s only link to the stylesheets. Thus once I added the conditional statements to that page, it sees the IE style sheets now. I feel like a bonehead, but sometimes taking a step back can be the best answer. Thanks for the other replies thou

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Yes, I know this question has been asked before, but I can't find an
I know this question has been asked several times, but I can't quite seem
I know this question has been asked, but I can't find more than one
I know this question has been asked/answered but I can't find it for the
I know this question has been asked many times before but I can't find
I know this question has been asked before, but I can't seem to get
I know this question has been asked over and over, but I can't seem
I know this question has been asked before numorous times but they seem to
I know this question has been asked multiple times but all the answers seem
I know this question has been asked before, but I tried eveything and can't

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.