How can i move the favourite button bellow the pic?

Hei!
I am using the rental hive theme, and i was wondering how can i move the favourite button to be bellow the listings photo.

Can someone help me?
Heard that i can find help here.
I think it needs a php snippet and css adjustment
I tried using css, but the button sits in a static position and not fluid ( dosn’t adjust its position acording to the pic size, thus sometimes if the pic is big the button will overlap on the listings pic)
Thank you!!

Please try this PHP snippet but please note that it can require further customization. If you are not familiar with code customization then please consider hiring someone for custom work https://fvrr.co/32e7LvY

add_filter(
	'hivepress/v1/templates/listing_view_page',
	function( $template ) {
		hivepress()->template->fetch_block($template, 'listing_favorite_toggle');
		return hivepress()->template->merge_blocks(
			$template,
			[
				'page_content' => [
					'blocks' => [
						'listing_favorite_toggle' => [
							'type'       => 'favorite_toggle',
							'_order'     => 45,

							'attributes' => [
								'class' => [ 'hp-listing__action', 'hp-listing__action--favorite' ],
							],
						],
					],
				],
			]
		);
	},
	1000
);
1 Like

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