Support

Account

Home Forums Front-end Issues Front-end form : Showing only first field Reply To: Front-end form : Showing only first field

  • error fixed…
    woo tabs class name and our ACF field class names are same
    i have solved it by follow this steps

    Go to –> wp-content\themes\canvas\includes\widgets\widget-woo-tabs.php

    And then find this lines –>

    	// Tab contents = .inside
    
    	var tag_cloud_class = '#tagcloud';
    
    	//Fix for tag clouds - unexpected height before .hide()
    	var tag_cloud_height = jQuery( '#tagcloud').height();
    
    	jQuery( '.inside ul li:last-child').css( 'border-bottom','0px' ); // remove last border-bottom from list in tab content
    	jQuery( '.wooTabs').each(function(){
    		jQuery(this).children( 'li').children( 'a:first').addClass( 'selected' ); // Add .selected class to first tab on load
    	});
    	jQuery( '.inside > *').hide();
    	jQuery( '.inside > *:first-child').show();

    Then replace the code like this –>

    	// Tab contents = .inside
    
    	var woo_class = false;
    	var tag_cloud_class = '#tagcloud';
    
    	//Fix for tag clouds - unexpected height before .hide()
    	var tag_cloud_height = jQuery( '#tagcloud').height();
    
    	jQuery( '.inside ul li:last-child').css( 'border-bottom','0px' ); // remove last border-bottom from list in tab content
    	jQuery( '.wooTabs').each(function(){
    		jQuery(this).children( 'li').children( 'a:first').addClass( 'selected' ); // Add .selected class to first tab on load
    		woo_class = true;
    	});
    
    	if(woo_class = true) {
    		jQuery( '.inside > *').hide();
    		jQuery( '.inside > *:first-child').show();
    	}