Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1014084

    Hi,
    I have created a portfolio page with a masonry, and everything works fine as you can see in the following link. All the thumbnails look the same and we are able to see the entire dress

    Different is when you go inside a single category page where images are cropped and some of them (random) are taller
    https://www.pennyblackragusa.it/portfolio_voci/gonne/

    How can I fix the masonry in the category page in order to look like the main page I showed you?

    Thanks for your reply

    #1014530

    Hey emanuelecocchiaro,

    Thank you for using Enfold.

    You need to adjust the thumbnail size for the archive pages. Please edit the archives.php file, look for this code around line 56:

    'class' => 'avia-builder-el-no-sibling'
    

    Below, add these codes:

     'preview_mode' => 'custom',
    'image_size' => 'full',
    

    Default “image_size” value is set to “portfolio”, which has a dimension of 495x400px.

    Best regards,
    Ismael

    #1014602

    Hi, thanks for your reply, it was very clear. Unfortunately it didn’t solve the problem, actually nothing changed at all. Would you mind give a look please?

    #1014612

    Hi,

    I fixed it for you – I had to modify the enfold/taxonomy-portfolio_entries.php template and replaced:

    
                        $grid = new avia_post_grid(array(	'linking' 	=> '',
                                                            'columns' 	=> '3',
                                                            'contents' 	=> 'title',
                                                            'sort' 		=> 'no',
                                                            'paginate' 	=> 'yes',
                                                            'set_breadcrumb' => false,
                                                    ));
    

    with

    
                        $grid = new avia_post_grid(array(	'linking' 	=> '',
                                                            'columns' 	=> '3',
                                                            'contents' 	=> 'title',
                                                            'sort' 		=> 'no',
    				                        'preview_mode' => 'custom',
    						        'image_size' => 'full',
                                                            'paginate' 	=> 'yes',
                                                            'set_breadcrumb' => false,
                                                    ));
    

    Best regards,
    Peter

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