Changing Number of Columns

  • Author
    Posts
  • FindaFloorGuy

    Hi, I have six packages. I’d like to change the number of columns across the width of the select package page from four to three for symmetry and to make wider, shorter columns. Is there a snippet for this, and if so where do I paste it? Thank you.

    ihordeveloper

    You can try adding this PHP snippet via the Code Snippets plugin https://wordpress.org/plugins/code-snippets/

    add_filter(
    	'hivepress/v1/templates/listing_submit_package_page',
    	function( $template ) {
    		return hivepress()->helper->merge_trees(
    			$template,
    			[
    				'blocks' => [
    					'listing_packages' => [
    						'columns' => 3,
    					],
    				],
    			]
    		);
    	}
    );
    FindaFloorGuy

    Thanks ihor,

    Unfortunately I didn’t have success using the snippet. This might cross the line between support and customization, if so I apologize. I’ll try to figure a work around. I appreciate all your efforts.

Viewing 3 posts - 1 through 3 (of 3 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.