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

    Hey there,

    All of my portfolio items are displayed using the 2/3 and 1/3 layout.

    I wanted to optimize my site and batch resize my images to fit the dimension. I noticed the exact width of my images displayed is 666. I’m a little uncomfortable with all my images being sized to this number (It may seem trivial, but it’s not something I take lightly).

    Is there any way to change the dimensions to 670 or 660..? I tried finding these numbers is the source code but was not successful.

    Thank you for your understanding!

    Blessings,

    Jason

    #121818

    Hi,

    tbh I’m not aware of a thumbnail size which generates images with 666px. All sizes are defined in functions.php:

    $avia_config['imgSize']['widget'] 			 	= array('width'=>36,  'height'=>36);						// small preview pics eg sidebar news
    $avia_config['imgSize']['entry_with_sidebar'] = array('width'=>710, 'height'=>270); // big images for blog and page entries
    $avia_config['imgSize']['entry_without_sidebar']= array('width'=>1030, 'height'=>360 ); // images for fullsize pages and fullsize slider
    $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']['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'=>710, 'height'=>575 ); // images for portfolio entries (2,3 column)

    The portfolio uses the “portfolio” or “portfolio_small” size by default but since version 1.5 you can also choose a different thumbnail size.

    #121819

    Hey.. not referencing the thumbnail size, but rather the image size within the 2/3 layout.

    http://godsfingerprints.net/portfolio-item/do-not-worry/ is an example.

    The original file is 1920×1200.. and it sizes it down to the 2/3 column, which is 666px wide. I’m just wondering if there’s any way I can increase or decrease that number. Perhaps by increasing the width of the site by a few pixels?

    Thanks again for your understanding.. very much appreciated!

    #121820

    Hi,

    I understand. :)

    You can add this on your custom.css or Quick CSS:

    .single-portfolio .flex_column.av_two_third {
    width: 64%;
    }

    It should be 659px now.

    Regards,

    Ismael

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Slight change to 2/3 and 1/3 dimensions’ is closed to new replies.