Show Featured Image with Crop at index.php

Asked

Viewed 60 times

0

I’m programming on this link http://catalogos.axitech.com.br/ and need to solve this structure since 1 to 4 squares has an image highlighted almost twice the size of other images.

I know more or less the solution, I don’t know how I could program to get the result but I think the best way is to center the image in the horizontal and vertical middle and make a Crop of the same.

Some plugin could help me accomplish this task?

  • Has it been solved ? If the solution has been put forward as a response

1 answer

0


1) Create a second css for div (for the highlight)

2) Change the loop to include a counter

3) Inside the loop, from 4 to 4, uses the second div css for output.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.