Page 1 of 1

Issues with child theme

PostPosted: Sun Nov 11, 2012 2:05 pm
by Pedro
Hi

I have a problem with making changes in the child theme. If I copy something from the style.css file, change it and paste it in the style.css file in the child theme folder, than the change is visible, but when I need to change something from the dark.css file and I follow the same procedure as described above, it won't work. Could you help me, please? This is what I have at the beginning of the style.css file in the child theme folder:

Code: Select all
/*
Theme Name: Sliding Door Child
Theme URI:
Description: Child Theme for Sliding Door
Author: Petr Volf
Author URI:
Template: sliding-door
Version: 0.1
*/
 
@import url("../sliding-door/style.css");
@import url("../sliding-door/dark.css");
@import url("../sliding-door/light.css");
@import url("../sliding-door/imagemenu/imageMenu.css");

/* Place new css code below here */


Long story short, if I want to change something in the style.css file, than it works. If I want to change something in the dark.css file, it doesn't work. Do I need to use any special way of addressing the code from dark.css or can I just copy-paste? Thanks.

Re: Issues with child theme

PostPosted: Wed Nov 14, 2012 8:41 am
by flyred77
This is my problem number two. I used the the Edit CSS link in the admin pages and it will not work. However the three entries I originally had in the dark.css file, which were simply code for changing the colors of the main links, hover and visited, quit working. It is all default white now. If I tried to do things according to the instructions in this post and set up the child theme directory and file, it messes up everything. So that has been attempted and deleted twice now and I won't be doing that again.

So my question is where does the edit css link create the style.css, and how do I get things back to default. Can I find and remove the extra style.css, wherever it is, and get back on track? I am at the very latest WP and everything is up to date. This is a fairly new blog and I let her choose this theme, and things should not be this messy. Why is the Edit CSS link provided if it doesn't set things up correctly. It does not create the slidingdoor-child directory at all and I cannot find where it is placing the style.css, but something blew up when I saved it, and I cannot get things back.

Is a line of code altered somewhere else that I need to remove or change, to get back to just using the default style sheets? Begging for some help!!!

Re: Issues with child theme

PostPosted: Thu Nov 15, 2012 12:08 am
by bb7
I am beyond frustrated with this child theme. I don't know what I'm doing wrong but I think I am having the same issue as you all are (if I understand your posts correctly). I created the child theme, as instructed, before making changes to the code. HOWEVER, the text is not converting to the light theme. I have gone through the site showcase and tried to use the Google inspect element to see the differences in my code and a site that has it right and I am still lost. I deleted the @import url("../sliding-door/dark.css"); from the child theme, as suggested by others, but that didn't work. I thought I was smart and was manually changing the font color of the body text in the Edit page, but there isn't an option to change the Title color...DUH! I am in the woods and can't find my way out. If anyone knows the answer PLEASE PLEASE PLEASE help. My site is www.bernitabaker.com. I feel like I should know this but I don't :?: