Featured YouTube video not fitting post template width

Posted in: Newspaper
Post count: 5

Hi. First post.

I recently migrated my WP site to a new domain and new hosting. I used Migrate Guru and everything went well. Everything except featured videos.

On my current live site, this is how pages are rendered with a featured video:
https://snipboard.io/KDUkXE.jpg
This is how the exact same post renders on my new staging site:
https://snipboard.io/768wbA.jpg

The staging site does not have the same level of responsiveness either. The video just remains the same size as the page resizes. This does not repro on pages with Featured Images, these pages function exactly as intended.

Examining in Chrome developer tools, the CSS seems to be the same. There are no differences in the codebase that I’m aware of. The staging site does have the SeedProd plugin which I’m using for a Coming Soon page, but the bug is persistent when I deactivate the plugin.

I am using the standard Style 9 post template. Switching to a different template doesn’t fix the problem. Downloading a Cloud Template with featured videos does not resolve the problem. I feel like a critical part of the plugin code or a file is missing regarding the featured video. I do not know where to check for this.

The live site is running PHP 7.0.33 (-0ubuntu0.16.04.16)
The staging site is running PHP 7.4.25
Both sites are running Newspaper 11.3.1
Both sites are running WP 5.8.1

Post count: 5

I should add that the settings in Theme panel > Post settings > Video settings are all default; no values have been set in these fields on either the live or staging sites.

I am running the Black-pro demo on both instances.

Post count: 5

Another update – the Featured Video displays fine in the WP customise panel:
https://snipboard.io/W4OhRc.jpg

Post count: 27744

Hello,

Please use a Single Post Template from Cloud Library.
Also, please use this custom code and see if the problem persists https://pastebin.com/gpAnKa4v
Set the code in Theme Panel -> Analytics / JS Code => https://www.screencast.com/t/5rkd6UoN

Thank you!

Post count: 5

Fixed, thanks!

I’ll have to edit the cloud template to get it how I like the posts looking, but this is achievable.

Why would this bit of styling be missing, do you suppose? The fix works but I’m always wary of patching something out and not knowing what the root cause could be.

Post count: 27744

Hello,

In case you still have problems you can write to us and we will try to help you as soon as possible.

Thank you!

Viewing 6 posts - 1 through 6 (of 6 total)
The forum ‘Newspaper’ is closed to new topics and replies.