Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Can you post here the code in your Child Theme style.css file?
Thread Starter
SCSX
(@scsx)
Hi Andrew, thanks. Here it is:
/*
Theme Name: fd-child-theme
Theme URI: http://xxxx.xxx
Description: Child theme for the Twenty Twelve
Author: SCSX
Author URI: http://xxxx.xxx
Template: twentytwelve
Version: 1
*/
@import url("../twentytwelve/style.css");
/* SELF */
@import url("css/fotografiadentaria.css");
And fotografiadentaria.css has just test css, like background-color – which works fine, until I replace header.php. Then there’s no css at all…
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
In which directory is your Child Theme?
Thread Starter
SCSX
(@scsx)
In fd-child-theme, same level as twentytwelve
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
May you provide a link your website?
Thread Starter
SCSX
(@scsx)
Thread Starter
SCSX
(@scsx)
Oh, that’s without header.php. I can put it if needed. Thanks
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
If you can, that would be great please ๐
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Can you use PasteBin to hold the code from your header.php file and send us a link of it?
Thread Starter
SCSX
(@scsx)
Here it is:
http://pastebin.com/PiADXGY4
It’s actually the original header.php from twentytwelve, just copied it
Can you go back and activate twentytwelve theme (not child)? Something is not right – your site is loading the twentyeleven theme.
Thread Starter
SCSX
(@scsx)
There it is. I didn’t even noticed that, had never used either one of them…
Okay, good, so we know that works okay. Now, with only the style.css file in the child theme and ONLY the one @import line (not the one to your css file) — just so we can sort out where the problem pops up. Like that, activate the child theme.
Thread Starter
SCSX
(@scsx)
Ok, here it is: child theme active and only it’s basic CSS:
/*
Theme Name: fd-child-theme
Theme URI: http://scsx.info
Description: Child theme for the Twenty Twelve
Author: SCSX
Author URI: http://scsx.info
Template: twentytwelve
Version: 1
*/
@import url("../twentytwelve/style.css");
Thanks!