How to make load images full height first ?

Posted in: Newspaper
Post count: 312

How to make load images full height first ?

I don’t want this white band under my image, you see i’m using box-shadow.

https://lowtechnation.com/metiers-agriculture-foret-peche/?amp

Thank you

Kind regards

Post count: 35449

Hi,

Please try this custom css https://i.imgur.com/Q16f8Sf.png it should fix the height for images.
.td-post-featured-image {
height: 364px;
}

Hope this will help you!

Post count: 312

Nope it doesn’t work, it makes the box bigger than before and increase the white border.

Post count: 35449

Hi, this is quite strange since for me is displaying correctly when I use the live css on your website -> https://i.imgur.com/JwhrEgF.png
Also I do not see to have this code set in source of your page, I think that you set a different height.
Thank you!

Post count: 312

Because you are watching the amp version on Desktop, but on mobile it doesn’t work as expected.

https://imgur.com/a/7EyeQyH

Post count: 35449

Hi gumball44, the thing is that for me is loading only the amp version on mobile, I’m somehow redirect to the amp version.
Please remove the above css and try this one
.td-post-featured-image amp-img {
margin: 0 0 -8px 0;
}

Hope this will work better.
Let me know the results!

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