Figure in entry-content not displayed
-
Hello,
I have a mp4 video in a HTML figure tag (inserted as an ordinary Video block in the block editor) which is displaying correctly in the admin, but not on the front end. When I load the page, I can see the video for a very brief moment, but then it disappears.
When I check the page source via ctrl+U, I can see the video in the figure tag:
<!-- .entry-header --> <div class="entry-content"> <figure class="wp-block-video"> <video controls src="https://new.zenitha.cz/wp-content/uploads/2023/11/foceni_kalendare-1.mp4"></video></figure> </div> <!-- .entry-content -->
However, when I inspect the page via inspect element, the whole div is missing:
<!-- .entry-header --> <!-- .entry-content -->
Something must be pulling the div out of the DOM. Either the CSS ::after which is located before the closing </header> tag, or something in the theme’s JavaScript files.
How can I debug this?
Thank you very much
Petr
The page I need help with: [log in to see the link]
- The topic ‘Figure in entry-content not displayed’ is closed to new replies.