وردپرس

Video Pop-up not showing background image


Replies: 0

Hi,

When using the Gutenberg Video Pop-up Responsive block I’ve added a YouTube link and uploaded a background image. I can view the image in the backend, however the front end is showing a grey box.

If we inspect the page, and change the HTML from
<div class=“responsive-block-editor-addons-video-popup__wrapper” data-video=“26QD8aFxAZs” style=“background-image: none ;“><a href=“#” class=“responsive-block-editor-addons-video-popup__overlay”></a>

to

<div class=“responsive-block-editor-addons-video-popup__wrapper” data-video=“26QD8aFxAZs” style=“background-image: url (https://www.readytoship.com.au/wp-content/uploads/2024/09/sendle-customer-reluv-video-cover-1.jpg);“><a href=“#” class=“responsive-block-editor-addons-video-popup__overlay”></a>

The front end does update, however can not find how to fix this in the Responsive Block. Could you please advise how to show an image rather than a grey box?

این خبر را در ایران وب سازان مرجع وب و فناوری دنبال کنید

مشاهده پاسخ های این مطلب
———————————————
این مطلب از سایت انجمن وردپرس گردآوری شده است و کلیه حقوق مطلق به انجمن وردپرس می باشد در صورت مغایرت و یا بروز مشکل اطلاع دهید تا حذف گردد

منبع: انجمن وردپرس

دکمه بازگشت به بالا