New Landing How can we help? Themeforest Theme Support Dante Show 5 team members instead of 4

Viewing 8 posts - 1 through 8 (of 8 total)
  • Posted in: Dante
  • #233873
    TheHomepage
    Member
    Post count: 97

    Hi,

    On my homepage I have a section with 4 team members. Is it possible to show 5 instead of 4? Which php file would I need to alter?
    Or is it through Css?

    Thanks in advance.

    In attachment a preview of the team section with 4 elements, where I need 5.

    Attachments:
    You must be logged in to view attached files.
    #233879
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    Unfortunately the theme is built on bootstraps 12 column grid therefore it’s not possible to have 5 team mmeebrs in a row as you can’t divide 12 columns into 5

    – Kyle

    #233885
    TheHomepage
    Member
    Post count: 97

    OK, and what about 6 columns?

    #233903
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    If you can provide me with a login I’ll see what I can do

    – Kyle

    #233915
    TheHomepage
    Member
    Post count: 97

    Hi

    Login & pasw have been provided earlier, or I can post them here but then it has to be in private.$
    Do you have a private emailaddress?

    #234075
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    There is a checkbox below reply box to make private any reply. I have attached the screenshot.
    Thanks
    Mohammad

    Attachments:
    You must be logged in to view attached files.
    #234512
    TheHomepage
    Member
    Post count: 97
    This reply has been marked as private.
    #234849
    David Martin – Support
    Moderator
    Post count: 20834

    Please open the file /wp-content/themes/dante/swift-framework/page-builder/builder/shortcodes/team-carousel.php.

    From line 58, you will see the column control output, it looks like this:

    if ($width == "1/4") {
    	$columns = 1;
    } else if ($width == "1/2") {
    	$columns = 2;
    } else if ($width == "3/4") {
    	$columns = 3;
    } else {
    	$columns = 4;
    }

    If you want your fullwidth team carousel to have five columns please update to this:

    if ($width == "1/4") {
    	$columns = 1;
    } else if ($width == "1/2") {
    	$columns = 2;
    } else if ($width == "3/4") {
    	$columns = 3;
    } else {
    	$columns = 5;
    }

    Thanks.

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