Digital experiences for all disciplines
Forum Replies Created
-
-
This reply has been marked as private.
As you can see in the picture, the menu does not resize at all, it still wants to expand to the right.
Attachments:
You must be logged in to view attached files.Hi David,
iPad etc are fine, it’s more the various sizes of laptops and being able to resize your window and have the video remain the right proportions.
Thanks David, but that just forces the placeholder image to be 100vh while the video stays the same proportion.
Hi David,
Thanks for the reply.
I had to put the following code in to keep the video full width at all times, otherwise the text gets cut off:
video.video,
.swiper-slide.video-slide {
width: 100%!important;
margin: 0!important;
height: auto!important;
}The gap is coming from the video’s predefined height of 923px, which I can’t set to auto without the entire video collapsing. The padding on the text column only accounts for a small amount of the gap (and is actually the desired gap).
I tried your code (it is active in the pictures), but because the gap isn’t caused by the padding of 13em but by the video needing to be 923px, the gap just keeps increasing as you downsize the window.
I could set different heights for the video at various break points, but I was wondering if there was something better I could do.
Thanks again.
Attachments:
You must be logged in to view attached files.Sorry Ed, still looks like this:
Attachments:
You must be logged in to view attached files.Sorry, still having the issue in incognito.
Yep, I just tried going into incognito too – it worked loading the page and then clicking NSW, but then if you click on say TAS/VIC/WA it cut it off.
Perfect! Thanks so much Ed, you’ve been a big help.
This reply has been marked as private.Hi guys,
Sorry but I’m still having trouble with this. The swift slider works a lot better, but it still stretches the video. I’ve added some code in that makes the video always 100% width, but the slider is pulling a height from somewhere, so on smaller sized screens there’s a big gap underneath the video (pictured).
It was important for the video to not be stretched as there’s text pretty close to the left side, so we’d like to keep that always visible. The width is working now, but if you could help us get the height to work, that would be great. Thanks
Attachments:
You must be logged in to view attached files.Thanks so much for the help Ed, I really appreciate it. However, this seems to close the menu before being taken to the link. Any help would be amazing.
Thanks for all of the attention on this, but it’s still not working here. We just tested on a fresh computer that hadn’t visited the site before and the content’s still getting cut off.
Thanks David,
I tried that, the Market Outlooks page seems to be working fine now, but the Market Trends page still gets cut off.
Thanks again for the help.
Hi Ed,
We only just got around to trying this out but we still are unable to make it work. I changed the 200 to 300, I’m not sure if I need to try some more numbers, I just don’t want to screw around too much as this site is live.
I just wanted to clarify, the page loads fine for the first tab, but once you click onto another tab (say NSW), the content gets cut off. I’ve still got the temporary code mentioned above in place so this doesn’t happen, but it isn’t ideal.
Thanks for the continued help.
-
Posted in: Reply To: Accordion hiding content