Customise block and module thumbnail size

Posted in: Newspaper
Post count: 3

Hi there, I’m trying to customise block “Big Grid 9” such that the height of each post is 393px instead of the default 364px.

I’ve tried following the documentation pages, but I must have screwed up somewhere so I’m hoping a mod can help with the steps.

This is what I’ve tried:

  • Going to td-config.php and adding in an extra thumbnail size “264×393” (as mentioned in the documentation) instead of editing the in-built “356×364” thumbnail size for “Big Grid 9”
  • Next, I went to take a look at td_block_big_grid_9.php under includes/shortcodes. I realised that it was linked to td_module_mx15.php under includes/modules, so I didn’t edit td_block_big_grid_9.php. Instead, I went into td_module_mx15.php and edited line 22 echo $this->get_image('td_356x364'); changing it to echo $this->get_image('td_356x364');
  • Last but not least, I went to the style sheet and changed the height of .td_block_big_grid_9 .td-big-grid-post .td-module-thumb from the default 364px to 393px.
  • I’m sure I must have messed up somewhere, but can I please get some help on this? Thank you in advance!

    • This topic was modified 8 years by vancewong.
    • This topic was modified 8 years by vancewong.
    Post count: 23312

    Hello vancewong,

    Please notice that as you want to achieve involves doing such a custom work and we cannot provide something like this at the moment, sorry! You should do this change using the API implementation which is custom work. For more information about this, please check the following documentation from here -> https://forum.tagdiv.com/api-blocks-introduction/ If you are not aware of the steps which are needed to take in this case, please consider hiring a freelancer/developer to help you because the API implementation is not covered by our support.

    Thanks for your understanding!

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