Something in parent theme is preventing child theme from being able to crop images

I have a dilemna where I can’t crop images with add_image_size() in my child theme. Instead of cropping, the images are scaled.

I’ve tried all the usual stuff like regenerating images and changing the execution order. I can also get the same code to work on the same site in a different theme that isn’t a child of ‘rise’.

The parent is called ‘rise’ by thrive themes. I contacted them but they said they don’t have support for dev questions.

The parent only uses add_image_size once, i tried removing this but I still had the scaling instead of cropping issue.

I’ve included the rise files below. I have a hunch they do some kind of custom scaling thing? And i will have to over-ride this some how?

thrive image optimization file – https://pastebin.com/1QEa6YJv
thrive functions – https://pastebin.com/pAqBt285

Read more here:: Something in parent theme is preventing child theme from being able to crop images

Leave a Reply

Your email address will not be published. Required fields are marked *