Not reading CSS (4 posts)

  1. Versipellis
    Posted 5 years ago #

    I've got a site I started, and for some reason IE8 and Firefox are not able to read the CSS at all, even though I've not changed anything as far as I can tell to do this.

    When I go 'preview' as well it is just blank > but for some reason IE7 can pick up and read the CSS fine?

    this is the site

    I've tried changing theme then changing back but still isnt working... Any Ideas? Its not far in so I can easily restart it but, I'd like to know why its done this so it doesn't happen again.



  2. DigitalSquid
    Posted 5 years ago #

    You need to add quotes around the Stylesheet URL when importing it:

    @import url("http://www.evolutionbusinessservices.co.uk/charlene/blog3/wp-content/themes/SAM WPv0.1/style.css");

    Though I don't see why you're importing it when the stylesheet is on the same domain as the page. You could just use:

    <link href="http://www.evolutionbusinessservices.co.uk/charlene/blog3/wp-content/themes/SAM WPv0.1/style.css" rel="stylesheet" type="text/css" />

  3. Taeo
    Posted 5 years ago #

    I believe you are using @import incorrectly. Try replacing:

    <style type="text/css" media="screen">
    @import url( http://www.evolutionbusinessservices.co.uk/charlene/blog3/wp-content/themes/SAM WPv0.1/style.css );


    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />

  4. Versipellis
    Posted 5 years ago #

    Lol thanks, but it wasnt that. Couldnt have the SAM WPv0.1 had to be SAM_WPv0.1

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.