That would probably be because of all of the CSS in the child’s stylesheet.
Moderator
Jan Dembowski
(@jdembowski)
Forum Moderator and Brute Squad
http://wordpress.org/extend/themes/dailypost
Hrm. I think it’s line 39 on that theme’s header.php
file which looks like this:
<link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" />
I’ll check in a bit but I think that would cause the theme to ignore the child theme’s CSS.
When I checked using Firebug, the child’s CSS was being applied. But the child’s stylesheet is huge – so an awful lot of CSS has already been added to the child’s stylesheet.
Moderator
Jan Dembowski
(@jdembowski)
Forum Moderator and Brute Squad
Esmi’s right, it’s your CSS. That line I referenced is fine. 😉
That’s a nice looking theme and except for some inserted CSS in the header (wp-content/themes/dailypost/images/primary-bg.png
), looks like it can be child theme’ed well.
It might have been all those tags you copied into the child theme’s style.css
file. Try something more minimal.
http://codex.wordpress.org/Child_Themes
Create a directory called wp-content/themes/dailypost-child
and put this small style.css file in it.
/*
Theme Name: DailyPost Child Theme
Author: Self-Help WordPress User
Template: dailypost
*/
@import url("../dailypost/style.css");
And nothing else.
Now go to your WordPress dashboard and activate the theme DailyPost Child Theme
and add just the CSS you want to change to that new style.css
file.
Don’t add anything else just the CSS portions you want to change. Don’t copy any comments into it either.
Esmi’s right, it’s your CSS. That line I referenced is fine. 😉
That’s a nice looking theme and except for some inserted CSS in the header (wp-content/themes/dailypost/images/primary-bg.png), looks like it can be child theme’ed well.
It might have been all those tags you copied into the child theme’s style.css file. Try something more minimal.
http://codex.wordpress.org/Child_Themes
Create a directory called wp-content/themes/dailypost-child and put this small style.css file in it.
/*
Theme Name: DailyPost Child Theme
Author: Self-Help WordPress User
Template: dailypost
*/
@import url(“../dailypost/style.css”);
And nothing else.
Now go to your WordPress dashboard and activate the theme DailyPost Child Theme and add just the CSS you want to change to that new style.css file.
Don’t add anything else just the CSS portions you want to change. Don’t copy any comments into it either.
Thanks mate. I already did it. Problem solved.. love you guyz!!