Change Image Height In Image/content Block - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

Change Image Height In Image/content Block

DA

Dina Abramson

Template 2 years ago

hi,

I am unable to modify the height size of my picture and keep it vertically centered. I would like to reduce the vertical height so there is not so much top and bottom space on the text side.

I was using this css and playing around with the percentages, but the text did not stay centered vertically in the block:

.sppb-addon-image-content .sppb-image-holder { position: absolute; top: 0; width: 50%; height:35%; background-position: 100%; background-size: cover; } https://awdtest3.com/images/image_height_issue.png

Thanks in advance for your assistance

0
1 Answers
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 2 years ago #111037

Hi Dina,

For that addon the only way to reduce picture size is reduce top & bottom padding for content on the left side.

info_824_2023.jpg

I think much better idea is using a different addon in that area. For example Image Layouts OR just create two columns with Text on the left side and Image addon on the right side.

0