Mobile theme latest 3 posts' featured images

Posted in: Newspaper
Post count: 62

Hello,

I am really happy with the mobile theme (using the mobile plugin).
However, there is one thing I want to customize.

On the mobile theme, the first 3 posts’ featured images are stretched out to the full width and the height of the images get shorter.
Which looks like this https://yahoo.jp/box/5MXsZ2

Well, it is perfectly fine but what I want to do is showing the center of the pictures not the top part.

For example, here is the original picture : https://yahoo.jp/box/zAH-Ld

And this is the picture showing now : https://yahoo.jp/box/2DFvxq

And this is what I want it to show : https://yahoo.jp/box/F2Xjcb

It would be great if you can give me some advise.

Post count: 20688

Hi,

You could maybe try a code like this, to display the images more centered
https://www.screencast.com/t/VDvSPDGHUEEp
Enter the code in Theme panel->Mobile theme->Custom CSS and test it and see if it works properly for you

.td_block_big_grid_mob_1 .td_module_mob_2 img {
position: relative;
top: -100px;
}

Thanks

Post count: 62

Thank you Simion!

It works pefectly!

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