Skip Navigation

[Waiting for user confirmation] Vertical youtube video slider view for testimonials

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 3 replies, has 1 voice.

Last updated by Minesh 19 hours, 4 minutes ago.

Assisted by: Minesh.

Author
Posts
#2841704

Tell us what you are trying to do?
I am building a 3-column slider to display YouTube Shorts (vertical format). I have created a CPT called 'Testimonials' with two custom fields: 'YouTube URL' and 'Quote'. The CPT title is the name of the person giving the testimonial.

I am facing two issues:

The Toolset YouTube block does not offer a 9:16 aspect ratio option.

I do not know how to create a slider based on a View."

#2841780

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

There is no such native feature. Maybe you want to use the module manager plugin that works with the legacy views.
=> https://toolset.com/home/module-manager/

To switch to legacy views and still using blocks, you should try to follow the following Doc:
- https://toolset.com/course-lesson/enabling-legacy-version-of-toolset-views/

You can add custom css or JS to display the result as per your requirement.

Using blocks, for example, you may need to add custom CSS something like the following CSS can possibally do the job, adhust the code as required.

/* Toolset YouTube 9:16 aspect ratio */
.toolset-youtube-9x16 .wp-block-embed__wrapper {
    position: relative;
    width: 100%;
    padding-top: 177.78%; /* 9:16 ratio (16 / 9 * 100) */
    height: 0;
    overflow: hidden;
}

.toolset-youtube-9x16 iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#2841859

I don't know if I'm stupid or what, but I can't find the Toolset Module Manager plugin either by searching here on your website or in the OTGS Installer...

#2841862

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

You can download the Module manager plugin from your account's download page:
- https://toolset.com/account/downloads/

Click on "Download Toolset Manually" and under section "Utility plugins".