Use custom thumbnail size on mobile theme.

Posted in: Newspaper
Post count: 364

Hi,

Using the mobile theme I would like to use a custom thumbnail size for the loop thumbnails. This should be all done by changing only the theme functions file (for update purposes).
On td-composer/mobile/includes/modules/td_module_mob_1.php I would like to overwrite the <?php echo $this->get_image(‘size of image’) from my theme functions.php. How I can do this?
Also if I want to override any class functions to define my theme (Newspaper->functions.php). How I can do that? Could you please share an example?

Thanks in Advance!

Post count: 18283

Hello !

This option is not available through functions. You can edit the sizes by modifying this file as you can see here: https://prnt.sc/p7p4sf

Also please note that you will have to regenerate all of your thumbs after the modification.

Thank you !

Post count: 364

Hi Vlad,

Thanks for your reply, I understand that but is there any way to overwrite your functions? From one central file like functions.php?

Post count: 18283

Hello !

No, unfortunately this option must be done the way I have presented it to you in order to make it work.

Thank you !

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