Tagged: ,

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #187417

    I referred to this post: http://www.kriesi.at/support/topic/enfold-logo-resize

    I am using a child theme.

    I copied over the JS folder into enfold-child theme and did the edit to the avia.js file and saved it and there was no apparent effect.

    Did I miss a step somewheres?

    • This topic was modified 10 months, 3 weeks ago by  jmikhail.
    #188134

    Hi jmikhail!

    The child theme doesn’t automatically replace anything except what is in its root folder. So copying over folders and then their contents doesn’t work without adding in functions that reference them.

    You would need to dequeue the parent script first and then enque your child theme version instead. I wouldn’t recommend this as you would then still need to replace this file each time you updated the theme anyhow as it typically has an update with each new version.

    Regards,
    Devin

    #188249

    Thanks Devin so are you basically saying child theme or not I would have to follow these steps in the following post each time there was a theme update? http://www.kriesi.at/support/topic/enfold-logo-resize/

    Any suggestions? Thanks.

    #189191

    Yes, that is correct. With how often we are updating the avia.js right now with tweaks or new code it will need to be updated with each release so duplicating it in a child theme would just add a new third step instead of just editing the parent each update.

    #189345

    Devin, thats understandable. Thanks for the clarification.

Viewing 5 posts - 1 through 5 (of 5 total)

The topic ‘Minimizing the Logo Resize Capabilities Under a Child Theme’ is closed to new replies.