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?
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.
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.
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.
The topic ‘Minimizing the Logo Resize Capabilities Under a Child Theme’ is closed to new replies.