 
	
		
		
		
		
			
- 
		AuthorPosts
- 
		
			
				
April 14, 2016 at 3:53 pm #614031Hi Enfold team, 
 i would lke the image in the prodct list to be different than the product image.
 Is that possoble?
 I would like to display the products in product listing in a natural scale/size.
 When i do so i use the product image for that and the image on the product page itself looks bad cause it´s much too small.
 Can you help please?April 17, 2016 at 5:37 am #615667Hey Robert! Thank you for using Enfold. It’s possible but you have to modify the productslider.php file inside the config-templatebuilder > avia-shortcodes folder. Look for this code around line 358: $image = get_the_post_thumbnail($product->id, 'square', array('class'=>"av-catalogue-image av-cart-update-image av-catalogue-image-{$show_images}"));The current thumbnail size is set to “square”. Cheers! 
 IsmaelApril 17, 2016 at 6:22 pm #615845Thanx a lot Ismael. April 17, 2016 at 7:06 pm #615856Hi! Glad we got that fixed. 
 Please do let us know if we can do anything else for you, we will be happy to assist.Cheers! 
 BasilisOctober 4, 2016 at 10:10 am #694944Hi, I want to make this change in a permanent way child theme without having to modify Enfold each update. 
 It’s possible ?Regards. 
 JeanOctober 7, 2016 at 7:08 am #696314Hi! I”m sorry but you can only do this modification in a child theme. It’s possible but the file won’t be updated when we add or change something in the original or parent theme file. Regards, 
 IsmaelOctober 7, 2016 at 9:35 am #696355Thank Ismael, is it possible to make same solution for meta.php in avia-template-builder -> config? Regards. 
 JeanOctober 11, 2016 at 2:24 am #697584Hi, What are you trying to do specifically? Maybe you can use the “avf_builder_elements” filter. Example: // https://kriesi.at/support/topic/when-i-add-new-portfolio-ltems%EF%BC%8Chow-to-set-no-sidebar-in-defult%EF%BC%9F/#post-618972 
 // https://kriesi.at/support/topic/change-default-header-layout/#post-682685Best regards, 
 IsmaelOctober 11, 2016 at 8:30 am #697668Hi, now I change meta.php for adding custom post types (Go-Portfolio) in the integration of Avia Page Builder. 
 Every update I have to write the file …Regards. 
 Jean- 
		This reply was modified 9 years ago by freepixelweb. 
 October 12, 2016 at 3:02 am #698128Hi! Hi, now I change meta.php for adding custom post types (Go-Portfolio) in the integration of Avia Page Builder. 
 Every update I have to write the fileI’m sorry but I’m not quite sure what you meant by that. What are the changes in the file? Cheers! 
 IsmaelOctober 12, 2016 at 8:21 am #698167Ok, in meta.php I add the slug of Custom post types I created : $boxes = array( array( 'title' =>$av_default_title, 'id'=>'avia_builder', 'page'=>array('post','portfolio','page','product','canne','moulinet','ligne','leurre','accessoire','archive'), 'context'=>'normal', 'priority'=>'high', 'expandable'=>true ), array( 'title' =>__('Layout','avia_framework' ), 'id'=>'layout', 'page'=>array('portfolio', 'page' , 'post','canne','moulinet','ligne','leurre','accessoire','archive'), 'context'=>'side', 'priority'=>'low'),With this change all Go-Portfolio entries use the Avia Builder. Regards. 
 JeanOctober 16, 2016 at 5:34 am #699445Hi, Thank you for the info. Please remove the modification then add this in the functions.php file. add_filter( 'avf_builder_boxes', 'avf_builder_boxes_mod' ); function avf_builder_boxes_mod( $metabox ) { foreach( $metabox as &$meta ) { if( $meta['id'] == 'avia_builder' || $meta['id'] == 'layout' ) { $meta['page'][] = 'canne'; $meta['page'][] = 'moulinet'; $meta['page'][] = 'leurre'; $meta['page'][] = 'ligne'; $meta['page'][] = 'accessoire'; $meta['page'][] = 'archive'; } } return $metabox; }Best regards, 
 IsmaelOctober 17, 2016 at 11:39 am #699890Hi Ismael, thank you very much, it works !! :-D 
 Best regards.
 JeanOctober 18, 2016 at 9:45 am #700506
- 
		This reply was modified 9 years ago by 
- 
		AuthorPosts
- You must be logged in to reply to this topic.
