New Landing How can we help? Themeforest Theme Support Flexform Publish more then 4 elements in portfolio grid

Viewing 6 posts - 1 through 6 (of 6 total)
  • Posted in: Flexform
  • #72231
    vandicla
    Member
    Post count: 30

    Hello,

    Iโ€™d like to use the portfolio feature to display up to 6-8 elements per line.
    I have a lot of content to display and the 4 columns layout that comes with Flexform displays images that are way too big for my goal ๐Ÿ™ .
    Is there any way I could make the portfolio into 6, or even 8 columns?

    Thanks,
    Claudio

    #72494
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    HI

    Unfortunately there is not a 6 or 8 column option, however we may look at adding this in a future update

    – Kyle

    #72558
    vandicla
    Member
    Post count: 30

    Hello, ok I understand. I’ve seen someone gave a possible solution on the same question for Dante theme http://support.swiftideas.net/forums/topic/4-col-portfolio-grid/

    If I had to hire a developer, could you please tell me where he should look for changing the number of columns ?

    Thanks

    #72563
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Of course: flexform/includes/page-builder/composer/lib/shortcodes/portfolio.php

    – Kyle

    #73938
    vandicla
    Member
    Post count: 30

    I managed to solved this through the help of a wonderful developer (@davidvincentfr)
    to have 6 columns portfolios in Flexform do this:
    flexform/includes/page-builder/composer/lib/shortcodes/portfolio.php

    line 193 :
    `else if ($columns == “6”) {
    if ($sidebars == “both-sidebars”) {
    $item_class = “span2 “;
    } else if ($sidebars == “one-sidebar”) {
    $item_class = “span1 “;
    } else {
    $item_class = “span2 “;
    }
    }`

    #73995
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Ok great! Thanks ๐Ÿ™‚

    – Kyle

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

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register