Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM – Marketplace (WooCommerce Multivendor Marketplace) › Hide Store List Banner
- This topic has 1 reply, 2 voices, and was last updated 5 years, 5 months ago by WCFM Forum.
Viewing 1 reply thread
- AuthorPosts
- October 22, 2018 at 3:51 am #34567vinnycamposParticipant
Hi, I want to hide the Store List Banner, what is the code?
Attachments:
You must be logged in to view attached files. - October 24, 2018 at 3:45 pm #34769WCFM ForumKeymaster
Hi,
Here is your code for the purpose –
function wcfm_marketplace_settings_fields_2410_general( $general_fields, $vendor_id ) { if( isset( $general_fields['list_banner_type'] ) ) { $general_fields['list_banner_type']['class'] = 'wcfm_custom_hide'; $general_fields['list_banner_type']['label_class'] = 'wcfm_custom_hide'; } if( isset( $general_fields['list_banner'] ) ) { $general_fields['list_banner']['class'] = 'wcfm_custom_hide'; $general_fields['list_banner']['label_class'] = 'wcfm_custom_hide'; } if( isset( $general_fields['list_banner_video'] ) ) { $general_fields['list_banner_video']['class'] = 'wcfm_custom_hide'; $general_fields['list_banner_video']['label_class'] = 'wcfm_custom_hide'; } return $general_fields; } add_filter('wcfm_marketplace_settings_fields_general', 'wcfm_marketplace_settings_fields_2410_general', 50, 2 );
You may add this CSS to hide banner from store list page –
#wcfmmp-stores-wrap ul.wcfmmp-store-wrap li .store-content .store-info { visibility: hidden; height: 70px !important; }
Thank You
- AuthorPosts
Viewing 1 reply thread
- The topic ‘Hide Store List Banner’ is closed to new replies.