Hero question - Post ID 296528

User 2811194 Photo


Registered User
34 posts

I have been playing around with a Hero based on the Neutral Hero component. I am sure I have made a mess of the code to get the sizes correct and imagine there was a better way. Also I wanted to have a static image up to 767px. Apart from the suggestions on the sizing, my other question is the way I have it will the video file still download even though it won't be seen?

https://www.dropbox.com/s/2idw0tp4rp928 … y.rsd?dl=0
User 122279 Photo


Senior Advisor
14,447 posts

Hi, I cannot see anything wrong with your file. If you wanted to have the static image up to 767px but not beyond, you need to select the html5 video element, go to the Element pane and at the relevant breakpoint select 'No Image'. Before you do this, make sure that the breakpoints are activated (Default mode) in 'Toggle Breakpoints' on the tool ribbon.

The reason why I asked about which component you were using (in your other thread) was to find out if there were any errors with the height set at 100vh. Now that I see it, I understand that you chose a component for a full-page video, so there is nothing wrong. But of course, you can change the dimensions of nearly everything according to your own preferences.
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com


User 2811194 Photo


Registered User
34 posts


Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.