Skip Navigation

[Resolved] I can't make a template responsive

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
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9: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/Karachi (GMT+05:00)

This topic contains 1 reply, has 2 voices.

Last updated by Waqar 7 months ago.

Assisted by: Waqar.

Author
Posts
#2693613
Captura de pantalla 2024-04-22 142055.png
toolset.png

I have created a toolset template that I apply to all video type entries (custom entry type). My problem is that, although the view on PC is shown correctly, it is not responsive, and on mobile devices the screen cuts off. It's a Vimeo video player (along with other elements), and the player appears cut off. How can I make it responsive?

#2693788

Hi,

Thank you for contacting us and I'd be happy to assist.

I noticed that the iframe used for the video is set to have a fixed width, which is breaking the layout, on smaller screens.

You can include the following custom CSS code at WP Admin -> Appearance -> Customize -> Custom CSS, to make iframes used in the pages, always confine within the maximum available width of the container:


.page-content iframe {
    max-width: 100%;
}

regards,
Waqar

#2693819

Lo he solucionado con tus indicaciones. Muchas gracias.