Problem with center cropping thumbnails after update

Posted in: Newspaper
Post count: 2

Hi there,
Prior to the recent theme update, I had changed the thumbnail crop in td_config.php from ‘center top’, to ‘center center.’ With the update, the theme has reverted back to a ‘center, top’ cropping of thumbnails and the code in the td_config file is no longer the same as it was before the update.

I’ve searched through all the newly updated theme files (as best I can as someone with very little php knowledge) and the closest option I can find to set it back to a ‘center, center’ crop seems to be via td_api.php which is located inside the wp_booster folder. Unfortunately, after a lot of testing, it doesn’t seem to do anything, and my images (I added new media to my site to check this, also regenerated the thumbnails numerous times) continue to be cropped ‘center top’.

The formatting of my thumbnails is crucial to the setup of my category pages. If you could please point me in the right direction as to how I can change that particular setting with the new updated files, I would be so grateful.

Thank you.

Post count: 20688

Hi,

Due to changes made in the theme in the 9.7 update the file where the thumbnails are made is now part of the composer plugin – http://prntscr.com/nfm73c
More about it here – https://tagdiv.com/updating-the-core-of-tagdiv-themes/
You could modify the cropping there if this is required, but the modifications will be lost after a theme update when the plugin is updated.

However maybe there is a different way of achieving the results you want. For example if you want to have more control over how a thumb looks in a module, you could use a flex block or flex grid – http://prntscr.com/nfmaajhttp://prntscr.com/nfmaer these have some settings for customizing how the image looks. Let me know if you have more questions.

Thanks

Post count: 2

Hi Simion, that’s actually really helpful and should definitely solve my problem. Thank you very much. 🙂

Viewing 3 posts - 1 through 3 (of 3 total)
The forum ‘Newspaper’ is closed to new topics and replies.