WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Stylesheet apparently not working in IE, works in Firefox (5 posts)

  1. twebman
    Member
    Posted 4 years ago #

    I have a working version of WP loaded and I'm running FlexProfessional template. All has been fine, except just recently I noticed that this page: http://www.gtpie.com/aboutus/made-in-michigan/ is not loading properly in IE. It loads fine in Firefox. Note the stylesheet seems not to be loading or is broken. In fact, any NEW PAGE or POST I create that uses any template, is now rendering this way in IE. All other existing pages are fine in IE. Does anyone have any idea what is happening, and have they had a similar experience?

  2. esmi
    Forum Moderator
    Posted 4 years ago #

    You need to sort out your meta-description.

    !--Add Description and Keywords-->
    
    <meta name="description" content="A Michigan Company Proudly Supporting Local Communities
    
    "We are not just serving up our fruit pie, we are celebrating doing business in Michigan," " />
  3. jceresini
    Member
    Posted 4 years ago #

    One thing I notice is that its loading

    http://www.gtpie.com/wp-content/themes/FlexxProfessional/lib/feedburner-widget/css/style.css.php?ver=2.7.1

    as a style sheet, but the headers it sends for that file are claim its an xml document. IE doesn't parse that properly. You should be able to add <?php header('Content-Type: text/css'); ?>

    To the top of your style.css.php file to correct. If that stylesheet contains the styles you're missing that may fix the view in IE

  4. twebman
    Member
    Posted 4 years ago #

    Thanks for the advice. I tried editing the style.css.php file you referenced but that made no difference.

    I'm curious as to why other pages (that are using the same WP templates) are rendering ok in IE? It's only pages created after a certain time about two days ago.

  5. twebman
    Member
    Posted 4 years ago #

    It was the meta-description, thanks esmi!
    Don't know what happened to my header template file, but I commented out the meta description and it's fixed.

Topic Closed

This topic has been closed to new replies.

About this Topic