-
AuthorPosts
-
February 27, 2014 at 3:43 pm #230101
Hi,
So overnight my theme’s custom.css was wiped clean. The file still exists but there was nothing in it. I wanted to see if this has happened to anyone else.
Luckily, I had a backup of the file from 2 days ago, and was able to salvage most of the styling, minus the work from the past two days. I am trying to apply these styles now via the Child Theme’s style.css but changes are not taking place.
Do I need to create a CSS folder within my Child theme and use a custom.css file from there (…/enfoldchild/css/custom.css)?
Thanks!
Cameron
February 28, 2014 at 4:36 pm #230657Hi murphy88!
No, you can use Style.css file of your child theme to add custom CSS codes. Please make sure that wp-content>uploads folder has correct permissions ( 755 )
Best regards,
YigitMarch 7, 2014 at 10:29 pm #233986This reply has been marked as private.March 7, 2014 at 11:06 pm #234011Hi,
Can you post the link to your website please?
Regards,
JosueMarch 7, 2014 at 11:09 pm #234017This reply has been marked as private.March 7, 2014 at 11:16 pm #234025Hey!
Try creating this file manually via FTP:
http://166.78.243.9/wordpress/wp-content/themes/enfoldchild/style.cssBest regards,
JosueMarch 7, 2014 at 11:30 pm #234033This reply has been marked as private.March 7, 2014 at 11:48 pm #234034Hey!
There’s the root of the issue, theme folder names should not have spaces. Maybe there is a invisible folder there, if not try contacting your server support for further assistance.
Regards,
JosueMarch 11, 2014 at 5:17 pm #235672This reply has been marked as private.March 11, 2014 at 5:25 pm #235681So I ended up adding the space back into the enfold child folder, and my widget’s all came back.
What I will try to do is copy all of that content, remove the space in the enfoldchild folder name (again), and copy the widget content back in.
Do you have any idea why changing the enfoldchild folder name would change the settings within WordPress?
Am I missing an area (either in the WordPress Dashboard or the database) where I need to update the enfoldchild name, without the space?
March 11, 2014 at 5:36 pm #235691Appears it is not loading style.css. But the theme has been loading the custom.css from the parent theme this whole time, and all of a sudden it is not working. Still on theme version 2.4.5. Wanted to figure this issue out before I upgraded to 2.6.1
Error Console:
March 11, 2014 at 5:45 pm #235703hi,
i have a similar problem. iàm using a chil theme too. I have some customizations made, stored in style.css in the folder of child theme. After updating the theme to 2.6 the customizations in the style.css are not done by the theme.I have inspected the site with firebug light. The problem is, that the customizations of the style.css are overriden by the values of base.css.
copied out of firebug light:
h1 {
font-size:34px;
line-height:1.1em;
margin-bottom:14px;
}
base.css?ver=1h1 {
font-size:26px;
line-height:1.1em;
margin-bottom:10px;
text-transform:none;
}
style.cssMarch 11, 2014 at 6:47 pm #235751Hey!
There will be an update released shortly to fix the child theme issue but I posted a fix for it here: https://kriesi.at/support/topic/after-update-to-2-6-some-css-styles-child-theme-style-css-are-not-being-applied/#post-235122
Regards,
DevinMarch 11, 2014 at 8:05 pm #235816Well I haven’t updated to version 2.6 yet, still on version 2.4.5. So thinking this should not have changed anything on my end.
Either way, I am awaiting the 2.6.1 fix/update.
- This reply was modified 10 years, 9 months ago by Thinkgate.
-
AuthorPosts
- The topic ‘custom.css wiped out, Child theme style.css not applying styles’ is closed to new replies.