New Landing How can we help? Themeforest Theme Support Flexform Multiple Portfolios with different number of columns

Viewing 4 posts - 1 through 4 (of 4 total)
  • Posted in: Flexform
  • #155992
    WellerSmithDesign
    Member
    Post count: 8

    Hi Support!

    Right now, we have 1 portfolio set-up and we updated the code to have 6 columns in this portfolio. This works great.

    Is it possible to add another portfolio on another page in the website and have that portfolio only have 4 columns?

    Thanks!

    #156151
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    You can insert any portfolio at any page as you want through Page Builder.
    Thanks
    Mohammad

    #156268
    WellerSmithDesign
    Member
    Post count: 8

    Hi Mohammad,

    I was able to create another portfolio, but that new portfolio is being defaulted to 6 columns. I am guessing our developer changed the default columns in the .php file to “6” which is why now all of our new portfolios have 6 columns.

    I actually want 1 portfolio to have 4 columns and 1 to have 6 columns.

    Is it possible to have a developer make a code change to just the 6-column portfolio and then update the default to be able to be 1-4 for any new portfolios?

    Thanks!
    – Sarah

    #156365
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    1- You need to edit portfolio.php file at /flexform/includes/page-builder/composer/lib/shortcodes/.

    Find this code:-
    } else if ($columns == "3") {
              if ($sidebars == "both-sidebars") {
    	     $item_class = "span2 ";
    	     } else if ($sidebars == "one-sidebar") {
    	       $item_class = "span-third ";
    	       } else {
    	 $item_class = "span4 ";
    }
    Change with:-
    } else if ($columns == "3") {
    					if ($sidebars == "both-sidebars") {
    					$item_class = "span2 ";
    					} else if ($sidebars == "one-sidebar") {
    					$item_class = "span-third ";
    					} else {
    					$item_class = "span2 ";
    					}

    Now create portfolio one with column 4 and portfolio two with column 3. portfolio two will display as column 6.

    Thanks
    Mohammad

Viewing 4 posts - 1 through 4 (of 4 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