Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #401913

    Hello there, I am regenerating my thumbnails for my ecommerce site. I have changed 3 thumbnail dimensions in woocommerce. However when regenerating my thumbnails I am regenerating all of these dimensions.

    Regenerate: 1000×1000, 1000×423, 1000×430, 1000×630, 100×100, 180×180, 194×194, 260×185, 300×300, 36×36, 495×400, 705×705, 710×375, 80×80, 845×321, 845×684

    Is there a file in enfold that has these defined? I have checked functions.php ect. I am also using child theme. I would like to redefine these.

    Also, are these set by default in enfold theme? I understand it is responsive. Is this why there are so many dimensions set? thanks

    #402217

    Hi Austin!

    You can find most of the Enfold image sizes on lines 117 – 128 in the functions.php file.

    $avia_config['imgSize']['widget'] 			 	= array('width'=>36,  'height'=>36);						// small preview pics eg sidebar news
    $avia_config['imgSize']['square'] 		 	    = array('width'=>180, 'height'=>180);		                 // small image for blogs
    $avia_config['imgSize']['featured'] 		 	= array('width'=>1500, 'height'=>430 );						// images for fullsize pages and fullsize slider
    $avia_config['imgSize']['featured_large'] 		= array('width'=>1500, 'height'=>630 );						// images for fullsize pages and fullsize slider
    $avia_config['imgSize']['extra_large'] 		 	= array('width'=>1500, 'height'=>1500 , 'crop' => false);	// images for fullscrren slider
    $avia_config['imgSize']['portfolio'] 		 	= array('width'=>495, 'height'=>400 );						// images for portfolio entries (2,3 column)
    $avia_config['imgSize']['portfolio_small'] 		= array('width'=>260, 'height'=>185 );						// images for portfolio 4 columns
    $avia_config['imgSize']['gallery'] 		 		= array('width'=>845, 'height'=>684 );						// images for portfolio entries (2,3 column)
    $avia_config['imgSize']['magazine'] 		 	= array('width'=>710, 'height'=>375 );						// images for magazines
    $avia_config['imgSize']['masonry'] 		 		= array('width'=>705, 'height'=>705 , 'crop' => false);		// images for fullscreen masonry
    $avia_config['imgSize']['entry_with_sidebar'] 	= array('width'=>845, 'height'=>321);		            	// big images for blog and page entries
    $avia_config['imgSize']['entry_without_sidebar']= array('width'=>1210, 'height'=>423 );						// images for fullsize pages and fullsize slider

    And the Woocommerce image sizes can be changed in Dashboard > WooCommerce > Settings > Products > Display.

    Regards,
    Elliott

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.