Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #694227

    I made a couple edits to my Enfold/js Avia.js file, and my changes are gone now, I’m guessing because a theme update. Does updating the theme overwrite Avia.js?

    If so, how can I make sure Avia.js goes unchanged (or my changes stick)?

    And if not, what else would cause Avia.js to get overwritten?

    #694267

    And same question re: search.php and loop-search.php (my edits to these files were wiped, but how can I keep my edits?)

    #694433

    Hi,

    Thanks for getting in touch!

    Yes, if you are making changes directly to the theme’s core files, then the changes will get overwritten each time you update the theme.

    Any modifications that extensive should be made in a child theme – http://kriesi.at/documentation/enfold/using-a-child-theme/

    Best regards,
    Jordan

    #694435

    Hi,

    I’m not sure exactly what edits you have done but yes, all theme files will be overwritten on updates. Please try installing a child theme: http://kriesi.at/documentation/enfold/portfolio-item/create-a-child-theme/

    http://kriesi.at/documentation/enfold/downloads/

    Best regards,
    Rikard

    #705846

    Thanks guys! I created a child theme based on the above links and it’s working great.

    My child theme will remain bare, in fact the functions.php and style.css are near empty (kept them as downloaded from above link). I only added the avia.js, loop-search.php and search.php files

    Two last questions:
    Does a child theme slow down the site’s performance/load times?
    And since I used the “Import from Parent Theme” button within Enfold to copy my settings, are my customized CSS edits (found in Enfold -> General Styling) now found in 2 files and WordPress needs to read both when rendering my website to viewers (making it slower)?

    • This reply was modified 7 years, 5 months ago by enfold4phil.
    #705883

    Hey!

    1. No, the child theme does not create any performance issues at all.
    2. Yes, if you have transfered your CSS to a different file, no need for the custom css any more.

    Let us know if we can help you further

    Cheers!
    Basilis

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.