I believe it is being overridden some where.
Mark
Moderator
Jan Dembowski
(@jdembowski)
Forum Moderator and Brute Squad
Link? It may be easier for us to see what’s going on by demonstration.
Yes, that would be helpful. Sorry
http://www.judgejohnolson.com/
I am running wp v3.3.1
OK – so I did another install on a test site and it worked just fine. There must be something in the database that is causing this to be overridden.
the linked site has no child theme activated – the @import code seems to come from the header of Twenty Eleven directly;
<style>@import url(wp-content/themes/twentyeleven/style.css) ;</style>
do you have any plugin installed to turn the links into relative links?
what happens if you deactivate all plugins?
Moderator
Jan Dembowski
(@jdembowski)
Forum Moderator and Brute Squad
That’s really weird.
You should have this in the HTML
<link rel="stylesheet" type="text/css" media="all" href="http://www.judgejohnolson.com/wp-content/themes/twentyeleven-child/style.css" />
But what you actually have is
<style>@import url(wp-content/themes/twentyeleven/style.css) ;</style>
Which is flat out wrong.
In fact almost all of the URLs in your HTML are relative and not absolute. Are you using a plugin to “fix” them to be relative? If so, disable that plugin.
Edit: DOH! The Sweeper beat me to it! Again! Darn you Sweeper, Daaarrrnnnn yyooouuu!!! ;P
OK – when I activate the twentyeleven theme it changes, but when I re-activate the child theme it does not pull the right style sheet.
Moderator
Jan Dembowski
(@jdembowski)
Forum Moderator and Brute Squad
Anything in the functions.php
file for that child theme? It doesn’t need to be a plugin.
Only one file in the directory and its the style.css file.
I don’t have any plugins that do that.
Only two plugins – wp-maintenance and contact form 7. I have disable both.
Mark
I have also deleted and re-installed the twentyeleven theme.
This is from the header.php file in the twentyeleven theme.
<link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" />
Nowhere in the file does the @import url exist.
I’m thinking a plugin or theme that I removed has something left over that is causing the issue. I’m going to wipe and start again. I’m not far enough along on this project to continue working the problem.
Mark
Moderator
Jan Dembowski
(@jdembowski)
Forum Moderator and Brute Squad
Something is not exactly normal with that installation or theme.
You’re running WordPress 3.3.1 and your child-theme only has that style.css.
But when I visit your site, it’s not what’s being displayed. The hgroup
is missing and the search field is in the nav bar.
Just using your style.css
should look exactly like this link:
http://dixie.dembowski.net/wordpress/
But your site is different.
Is it just a stock install or have you made changes to the Twenty Eleven theme too?
OK – I now think it has something to do with the style.css file in the child theme directory.