Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #976188

    Hi there,

    I am building another new website based on Enfold (see link development site below) and experience something quite strange. I set up a child theme and always use the style.css in the child theme to add extra CSS.

    What happened is that it seemed that changing the style.css didn’t have any effect on the site. By coincidence however I found out that when I save the theme options in wp dashboard first and then update style.css through ftp, the changes become effective on the site.

    I have never ever experienced this before and believe this is very strange behavior… Too much hassle as well. I wonder if you have ever heard of this before? Do you have any idea what could cause this?

    Thanks and best regards,
    Monique

    #976239

    Hey Monique,

    I think that’s because of the optimization feature added to Enfold.
    Try to disable CSS file merging and compression found in Enfold > Performance.
    Let us know if this helps.

    Best regards,
    Nikko

    #976245

    Hi Nikko,

    That indeed helped.

    Obviously something you would have to look into further? Since optimization is all we all want these days!

    Thanks & regards,
    Monique

    #976267

    Hi Monique,

    Glad we could help :)
    If you are still in the stage of making changes to your site, you can disable merging and compression and enable it once it’s ready for production.
    If you need to remove the old js/css file, you can check Delete old CSS and JS files? (still in Enfold > Performance) and save changes so it fetches the new css/js code.

    Best regards,
    Nikko

    #976268

    Hi Nikko,

    Ok, I understand the ‘workflow’ you suggest.

    Why would I remove the old js/css file?

    Regards,
    Monique

    #976288

    Hi Monique,

    Basically the Enfold optimizes the css/js scripts by merging all css/js files and compresses it into one file which is generated.
    This file is cached to your browser, so if there are new updates to the scripts and it is already compressed, you need to remove the old css/js file to generate a new one which contains the latest changes in your settings.

    Best regards,
    Nikko

    #976343

    Hi Nikko,

    Aha, ok I see. Thanks for the explanation. Would you keep this option checked all the time?

    Regards,
    Monique

    #976450

    Hi Monique,

    No, you just need to check the changes you made especially css and it doesn’t display or fetch the new css.
    Glad that we could always help :)

    Best regards,
    Nikko

    #980629

    Ok, thanks Nikko!

    Can you please flag this topic as solved?

    Best regards,
    Monique

    #980949

    Hi Monique,

    Thanks for the feedback, I’ll close the topic for you. Please open a new thread if you should have any further questions or problems.

    Best regards,
    Rikard

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Strange behaviour of Enfold Child theme options and CSS’ is closed to new replies.