Portfolio Square Images

  • Hi Guys,
    is it possible to have square images in the portfolio area?!
    the height is limited to 240px?!

    Thanks so much
  • JoshuaJoshuaAdmin
    Add this to your Custom CSS in theme options to make them square:

    .team-member img
    -moz-border-radius: 0px;
    -webkit-border-radius: 0px;
    border-radius: 0px;

    To change the size of the images, you would need to open functions.php and around line 53 change the this line the numbers in the following line to the size you'd like to use:
    add_image_size('team', 180, 180, true);
    Also remember that you'll need to re-upload your images or use the regenerate thumbnails plugin for the new sizes to show.
  • Hey Joshua,
    thanks for the fast answer.

    i tried it and changed the size of the portfolio images to 240px x 240px, that works well.
    But is there a way to have them bigger ... a 3 column portfoilio with pictures that are 320px square?

  • JoshuaJoshuaAdmin
    You should be able to change the size in that same location to whatever size you need. The only other css you may need to add is this for the 3 column layout:
    .portfolio3c .isotope-item {
    max-height: none !important;
  • Hey Joshua,
    thanks so much!

    It works very well!


Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!