Home Support Themes ListingHive Add one or two columns in categories

Add one or two columns in categories

  • Author
  • david2

    Hello, thank you very much for this nice plugin. I have a question about the list by category:I deleted the left part:
    .hp-template–listings-view-page .hp-page__sidebar {display:none}
    .hp-template–listings-view-page .hp-page__content {flex-basis:100%; max-width:100%} .hp-template–listings-view-page .hp-page__content
    Is it possible to add one or two columns? Since there is more space, I would like three or four ads per row. Thank you in advance and have a nice day.

    ihor developer

    You can try using this PHP snippet:

    	function( $template ) {
    		return hivepress()->helper->merge_trees(
    				'blocks' => [
    					'listings' => [
    						'columns' => 3,

    Thanks very much


    Dear @ihor
    Plase advise snippet which change number of columns on mobile.
    Thank you in advance

    ihor developer

    Please check this topic https://hivepress.io/support/topic/movil-view/#post-2964

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

You must be logged in to reply to this topic.