Z
Z
zalkidqwerty2018-02-19 23:05:09
css
zalkidqwerty, 2018-02-19 23:05:09

Not understanding css tables in Wordpress theme?

Others, help me out, such a problem in the gallery set a hard display in css with a crop of 350x350 px images, because when loading there are different images, both horizontal and vertical, the problem now is that on the main page in the All projects block, the background of the image is also 350x350 , how to make the image on the main page in this section completely cover the field (bg), but the display of images in the gallery does not break. Gallery -
http://omnia-studio.com/portfolio-item/nursery-room.. Home
- omnia-studio.com

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Orkhan Hasanli, 2018-02-20
@azerphoenix

Hello.
I won't tell you exactly how you added the style to the image for css, although this is not entirely correct for the VI.
Add a line to your theme's functions.php
Install the regenerate thumbnails plugin and create new thumbnails
And then in the gallery use my_gallery thumbnails to output specific image sizes.
Well, remove the extra style from the css that you added

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question