Reply To: Masonry layout in 4 across instead of 3

Home Forums Support Masonry layout in 4 across instead of 3 Reply To: Masonry layout in 4 across instead of 3

Home Forums Support Masonry layout in 4 across instead of 3 Reply To: Masonry layout in 4 across instead of 3

#202334
Daniele

No I haven’t. But it remains short from both sides.

If I give to img:

img {
height:auto;
width: 100%;
}

the image in the blog will fit the space but inside the post will be huge and always above the content (and not inside).

Keeping

img {
height:auto;
max-width: 100%;
}

I will have the opposite.

How can i set width:100% for the blog and max-width:100% for the post?

In love with GeneratePress