Page 1 of 1

Do I have a phantom object or something..?

Posted: Mon Aug 08, 2022 1:38 am
by etcbbu
Hi all,
Please visit this page:
https://ktravisj.com/about.php

Notice if you're on a wider Breakpoint (like 1366, or 1920), there's a weird video towards the top of the page..?

Here's my project file, for the .WBS for just that page
https://ktravisj.com/proj.zip

Wanting to see if someone can walk me through exactly what is happening,.? Like I notice when I turn on "Show hidden objects" and navigate to my various Breakpoints, I do see various HTML objects over there where that would be. But I'm wondering why they're showing up at all, if I have them set to "Not visible" on that/those same Breakpoint(s)?

Re: Do I have a phantom object or something..?

Posted: Mon Aug 08, 2022 6:31 am
by Pablo
Show/hide on breakpoints may not work for custom code because there is no way for the software to know what how the code you have added works or how it related to the rest of the page.
For custom code, you will also need to take care of the code that shows/hides it.

Re: Do I have a phantom object or something..?

Posted: Wed Aug 10, 2022 12:43 am
by crispy68
the video I see in the larger breakpoints is ID "travisjconsultingaboutHtml2". This contains the script and video (BBB Award Winner) is the html description. As Pablo stated, many scripts will show in all breakpoints despite you checking to "hide" it in WB. Not sure why you would want to hide a video anyway. It should be visible regardless the device. But, if you really want to do it then you will need to add some CSS to hide it based on breakpoints.