What is the best way to size am image in one of a 2 column block?

[ad_1]

I've put an image next to some text. What is the best way to make the image scale to the same size as the text depending on the screen size?

Does using vh for image size for example solve the problem?

I'm using the blocksy theme.

Thanks.

[ad_2]
2 Comments
  1. It all depends on the effect you want to achieve. The proportions of the image and the amount of text should be also factored in.
    Without having seen the website, I’d world advise against using vh. I’d probably use 100% width and control the min height, margins and paddings of the parent container.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer