• Resolved trmkr

    (@trmkr)


    Hello,

    I want to implement flexy slider as full-width homepage slider. However, there are some problems. It is not full-width and images are loaded as 300x150px. Also, I couldn’t remove pills.Can you help please?

    Regards

    add_shortcode('flexy_slider', function () {
    return blocksy_flexy([
    'images' => [651, 650, 649],
    'images_ratio' => 'original',
    'autoplay' => '3',
    'has_pills' => 'false'
    ]);
    });

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hello @trmkr

    In regards to being full width, you’ll probably have to wrap your shortcode block into a container that’s aligned full width, as shown here — https://ibb.co/2SYT9pD

    For your other inquiries, I’ll have to ask my software engineer colleague the first thing in the morning, as he has better knowledge than me in regards to the flexy slider. Will get back to you asap.

    Thanks.

    Thread Starter trmkr

    (@trmkr)

    Hello Eduard,

    Thank you for your reply!

    Interestingly, I get “Updating failed. The response is not a valid JSON response.” error when I try to save the page with flexy_slider shortcode. Yesterday, there were no save issues.

    Regards

    Hey @trmkr

    I got the issue as well, but it was just a temporary hiccup. It worked fine after that and saved successfully.

    Will get back to you asap with the answer from our devs. ??

    Thanks.

    Thread Starter trmkr

    (@trmkr)

    Hi Eduard,

    Thank you ??

    Regards

    Hello @trmkr

    While we’re still investigating the low resolution images, here’s an updated snippet that makes things work better. Yes, we are sorry that it wasn’t correct on our site and we’ll make the change asap.

    add_shortcode('flexy_slider', function () {
        return blocksy_flexy([
            'images' => [871, 1343, 1341],
            'images_ratio' => '2/1',
            'has_pills' => false,
        ]);
    });

    This is how the code should look like. Will get back to you with a resolution for the low res images.

    Thanks.

    Hey @trmkr

    Scratch that, here’s the final snippet that works and also uses higher quality images.
    The size attribute supports small, medium, large or full, or any other custom thumbnail size you might’ve defined in WordPress.

    add_shortcode('flexy_slider', function () {
        return blocksy_flexy([
            'images' => [1273, 871, 1343, 1341],
            'images_ratio' => '2/1',
            'size' => 'full',
            'has_pills' => false,
        ]);
    });

    Hope this helps.

    Thanks.

    Thread Starter trmkr

    (@trmkr)

    Hi Eduard,

    The slider is much better now ?? Thank you.

    1) The slider plays when I hover over it. Is it possible to autoplay when loaded?
    2) Can I add different URLs for each image?

    Best regards

    add_shortcode('flexy_slider', function () {
        return blocksy_flexy([
            'images' => [651, 650, 649],
            'images_ratio' => '2/1',
    	'autoplay' => '1',
            'size' => 'full',
            'has_pills' => false,
    	'href' => ['link1','link2','link3']
        ]);
    });
    • This reply was modified 2 years, 9 months ago by trmkr.
Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Flexy slider implementation’ is closed to new replies.