Black Friday 2026 50% off every plan Our biggest deal of the year on #1 Joomla products.
Ends in 12d 16h 19m 29s
Claim 50% off
Staff replied SP Page Builder

YouTube videos - making them always fit and not showing the title?

Asked by Richard 1 year ago Last activity 1 year ago

I have this issue in a few sites with different templates so maybe it is just a setting or two i am missing.
I would like the YouTube videos to always fit, basically being responsive inside a slideshow element without showing a big black bar across the top/bottom.
Also if a video has a title on YouTube then it shows on the slideshow when the page opens, is there any way to stop that from showing?
thanks

6 replies

Ziaul Kabir Staff

Hello,

Thanks for reaching out to us. Could you please share temporary administrator access to your Joomla backend? You can provide the credentials securely in the hidden content section. Also, please take a full backup of your site before we make any changes.

Also, mention the page name.

Once I have access, I’ll investigate further and see what’s causing the issue. Let me know once you’ve shared the details!

Best regards,

Richard Asked this

Ok thanks, this isnt a joomshaper template and i appreciate you guys are always really helpful but i dont expect the world! i was just hoping to see if there were ways to adjust the slideshow section so it would take almost any youtube video.
n have added access to the Hidden Content.
thanks

Ziaul Kabir Staff

Please, mention the page name and for temporary disable the coming soon mode.

Thanks

Richard Asked this

Thanks i have done this it is the Homepage slideshow (just one slide at the moment) at the top

Ziaul Kabir Staff

Please, check now and adjust your content on slider.

Thansk

Richard Asked this

Wow yes that has fixed the black spacing, could you please tell me what you did as i will be playing around with different videos on this and other sites?

very many thanks for great service as ever!

Steven Gourlay

I would be interested to know as my youtube have black box top and bottom and its not the ratio as its behind the title.

Richard Asked this

Amazing work many thanks, i have adjusted the number -45 to block the youtube title from showing and it works really well, code below for anyone else that might need this - adjust to fit !!

addonId .sp-video-container {

position: relative;
padding-bottom: 56.25%;
height: 0;
overflow: hidden;
width: 100% !important;
left: 0 !important;
right: 0 !important;
top: -45px !important;

}

Ziaul Kabir Staff

It’s great to hear that your issue has been resolved.
If everything is working fine now, please mark the question as complete by accepting any of our answers.

Thank you!

Log in to reply.