Change size of images in the listing category

Greetings to all,
I am new to handling this topic but I think I have studied the documentation of the Rentalhive plugin, and I have not been able to solve the change that is generated in the size of the images when uploading categories, for example. , apartments, houses, farms, etc… The thing is that before when I imported the Rentalhive demo, those images looked uniform, that is, the same size, but then to replace them and continue adding ad categories, some look longer than others, That is to say, they do not look uniform, I have organized each image with the same measurements, weight, format and it has not worked. I have them at 4 columns and then I change them to 3 like in the demo, and everything remains the same, it doesn’t fix it,

Thank you in advance for your help


use this code snippet (Usa este code snippet):

add_filter(
	'hivetheme/v1/image_sizes',
	function( $image_sizes ) {
		$image_sizes['portrait_small']['height'] = 400;
		$image_sizes['portrait_small']['width'] = 400;

		return $image_sizes;
	}
);
1 Like

Thank you very much for your answer aqmiami7 but as I said, I am new to this, where (line) of the theme editor do I place that code, excuse my ignorance. hahaha.

Hola aquí quieren que escriben el inglés (Here is required to write in English).

You have to download a code snippets plugin.

If you want email me and I’ll give you some tips and point you in the right direction. Aqmiami7@gmail.com

But note most of the stuff you can find here in forum via search. You just have to read a lot jajaja :rofl:

Thank you very much, email sent with administrator access, in case you want to make the correction, and if you explain to me where you did it, the better. ha ha ha

Hi Rafamed1208, I went to your site and fixed it.

All you needed to do was go to Apperance>Customize>Add additional CSS, then place the CSS code that I placed for you.

I also added the code snippet plugin for you and added the previous code snippet mentioned to make the images the same size, but that was not needed for this. I put that one as an example so you can see where you paste it.

You can add new code snippets by just going to plugin and adding new. You will find many code snippets helpful. How to add custom code snippets - HivePress Help Center You can find them by searching in this community or by looking here: Search · user:hivepress · GitHub

Hope this helps. Let me know if you need any more help! =)

Thank you very much aqmiami7, for solving my problem, you are great

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.