To insert code use <code>...</code>.
portfolio items outlines not fully displayed
  • Hi:
    Please see:
    http://laurendesignsjewelry.com/stone-sterling-silver-collection/

    When I select 5 or 6 column portfolio, the right frame of the photos in the portfolio is not displayed. With 4 across it shows up.

    Using latest version of Striking and WP.

    Thanks in advance for your help,
    Ron
  • 5 Comments sorted by
  • Hi

    Can you please go to your framework/helpers/themegenerator.php file, and on line 1629, change the current line:
    case 5:
    $column_class = 'five_columns';
    if($layout=='sidebar'){
    $size[0] = '110';
    }else{
    $size[0] = '172';
    }



    Please change the size number 172 to 170, and then advise me if this fixes the issue.

    Best Regards
    Striking Team
    James
  • Fixed! Thank you. Do I have to change any other values for 6, 7 columns etc.?
  • Hi,

    Do you have same problems with 6,7 columns? If not then there is no need to adjust those.

    Best regards,
    Striking Team
    Paul
  • I'm probably not going to use 6, but I believe when I did some testing I had the same problem with a 6 column portfolio.
  • Hi

    Yes you are right. here is the correct code for all of them. Please edit the themegenerators.php and adjust all values below accordingly. We will fix this in the next update of the theme. Thanks for reporting this.


    case 5:
    $column_class = 'five_columns';
    if($layout=='sidebar'){
    $size[0] = '108';
    }else{
    $size[0] = '170';
    }
    $size[1] = (int)theme_get_option('portfolio','5_columns_height');
    break;
    case 6:
    $column_class = 'six_columns';
    if($layout=='sidebar'){
    $size[0] = '88';
    }else{
    $size[0] = '138';
    }
    $size[1] = (int)theme_get_option('portfolio','6_columns_height');
    break;
    case 7:
    $column_class = 'seven_columns';
    if($layout=='sidebar'){
    $size[0] = '70';
    }else{
    $size[0] = '118';
    }
    $size[1] = (int)theme_get_option('portfolio','7_columns_height');
    break;
    case 8:
    $column_class = 'eight_columns';
    if($layout=='sidebar'){
    $size[0] = '61';
    }else{
    $size[0] = '97';
    }
    $size[1] = (int)theme_get_option('portfolio','8_columns_height');
    break;


    Best regards,
    Striking Team
    Paul