Change the size of the related post image

Posted in: Newsmag
Post count: 25

I want to change the post image associated with a size of 100 x 75. This is what I mean related posts

Can you show where the code is located? I also plan to place it in the sidebar.

Post count: 25
Post count: 20688

Hi,

A setting fro this does not exist, only if you modify the code of the related articles module will it be possible. This is where you can find the module
https://www.screencast.com/t/PayRp48bJ
The thumbs created by the theme are defined here – https://www.screencast.com/t/EqSt5MZl
You could use one of those thumbnails instead of the default one. Note that this may cause design issues with the related articles section, so it may require additional CSS.
Best to test in a local install and see what is needed according to the modifications you will make.

Thanks

Post count: 25

thank you Simion,
Is it possible for my “related posts” to be placed in the sidebar?

Post count: 20688

The related articles section isn’t supposed to be displayed in the sidebar, sidebars contain widgets.

Each post template is made of two files, a loop-single and a single file. So for example the default post template files are these
http://prntscr.com/md3dpz the loop-single file contains the related articles section, the sidebar being a different section in the single file.

If you want to give it a try, you could move the code for the related articles from the loop-single file in the single file, below or after the sidebar code. Best to test this first in a local install than in the live website, see how it works and looks.

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