Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #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

    #230657

    Hi 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,
    Yigit

    #233986
    This reply has been marked as private.
    #234011

    Hi,

    Can you post the link to your website please?

    Regards,
    Josue

    #234017
    This reply has been marked as private.
    #234025

    Hey!

    Try creating this file manually via FTP:
    http://166.78.243.9/wordpress/wp-content/themes/enfoldchild/style.css

    Best regards,
    Josue

    #234033
    This reply has been marked as private.
    #234034

    Hey!

    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,
    Josue

    #235672
    This reply has been marked as private.
    #235681

    So 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?

    #235691

    Appears 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:

    http://postimg.org/image/kr0d26vod/

    #235703

    hi,
    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=1

    h1 {
    font-size:26px;
    line-height:1.1em;
    margin-bottom:10px;
    text-transform:none;
    }
    style.css

    #235751

    Hey!

    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,
    Devin

    #235816

    Well 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, 8 months ago by Thinkgate.
Viewing 14 posts - 1 through 14 (of 14 total)
  • The topic ‘custom.css wiped out, Child theme style.css not applying styles’ is closed to new replies.