Viewing 12 posts - 1 through 12 (of 12 total)
  • Posted in: Flexform
  • #84204
    blaouchez
    Member
    Post count: 448

    Hello,

    Swift page builder > carousel blog post: how to make 3 columns occupies the entire width of the page?

    Currently, each item in a column is 172px

    http://www.lf-conseil.com/site/0_test_actu

    Regards

    #84503
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    Please go to: flexform/includes/page-builder/composer/lib/shortcodes/post-carousel.php

    Go to line 55 and edit this:

    $item_class = 'span3';

    change to span4

    – Kyle

    #84609
    blaouchez
    Member
    Post count: 448

    The lageur each column is always 1/4 and not third

    http://www.lf-conseil.com/site/0_test_slider

    #84632
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Did you change the file like I said?

    – Kyle

    #84693
    blaouchez
    Member
    Post count: 448

    Yes but posts display always on 4 columns

    #84707
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Sorry, if you look just below that, you will see:

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

    Change the 4 at the bottom to 3, so:

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

    – Kyle

    #84729
    blaouchez
    Member
    Post count: 448

    With this code, the 4th column is deleted, but it does not display any of the three column width

    #84761
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Please try replacing the existing file with this one: https://www.dropbox.com/s/yhubbzke4t3k44f/posts-carousel.php.zip

    – Kyle

    #84891
    blaouchez
    Member
    Post count: 448

    Kyle thank you very much, it works but the post is cut from the center.

    http://www.lf-conseil.com/site/0_test_slider

    #84964
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    Try adding this to your custom css:

    .wpb_posts_carousel_widget .caroufredsel_wrapper {
      height: 530px !important;
    }

    – Kyle

    #85330
    blaouchez
    Member
    Post count: 448

    Thank you very much, Kyle

    #85367
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    No problem at all 🙂

    – Kyle

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