Home Support Themes ListingHive How can I make shorter the categories display

How can I make shorter the categories display

  • Author
    Posts
  • aaretamozo

    Hi,

    I have on my landing page the listing categories part, but I want to make it shorter or resize it. How can I do that?

    Thankyou

    ihor developer

    Hi,

    Categories layout depend on the theme, there’s a single theme (ListingHive) at the moment so there’re two workarounds:

    – You can consider making category images smaller, for example this code snippet makes images square:

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

    You can manage custom code snippets using this plugin https://wordpress.org/plugins/code-snippets/ Please re-generate existing images once you add this snippet https://wordpress.org/plugins/regenerate-thumbnails/

    – If you’re familiar with HTML/CSS you can customize categories and restyle them completely, with CSS snippets or overriding template parts of HivePress (by placing them in the theme subfolder named “hivepress”0.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

Subscribe

Sign In

Don't have an account? Register

Forgot password?

Register

Already have an account? Sign In

Forgot password?

Reset Password

Please enter your username or email address, you will receive a link to create a new password via email.