I’m currently working on a rebuild of an old project of mine, still busy with laying down a solid foundation. Here I’ve used a hero image which cover most of the screes, but although I’ve set the width to 100%, I’ve also set a max-width of 1920px. It works just fine; images are imported pass-through, width set to ‘fixed (%)’ and height to ‘flexible’.
Richard
freewaytalk mailing list
email@hidden
Update your subscriptions at:
There are in total two methods making images responsive and both methods require a slightly different method getting “text in”. Assumed you are aware of both methods applying images in web, the easier part is simply doing it as background-image. Todays FW(7) has background-size: cover already available in inspector. The text can be treated as you would do with a regular DIV.
The image Tag is a lil bit more complicated. An img-TAG (in our world the pass-through) is technically spoken a placeholder for an image; which is the reason why it can’t contain anything else.
Thus spoken, the pass-through element requires a parent wrapping DIV and in this DIV you can place another one (preferably absolut). So the parent container contains two elements - the figure and the fig-caption - if you want so.
Cheers
Thomas
freewaytalk mailing list
email@hidden
Update your subscriptions at:
I’m sorry but I was a bit confused, not being so clear on technical jargon.
I’m using the SecondSight template. There is an HTML box with the image as a background image filling the box. I would like to be able to have a second box overlaying the image which is also responsive.
Thanks
freewaytalk mailing list
email@hidden
Update your subscriptions at:
Sorry - I’m not aware how SecondSight is built - but here as well as in previous talks:
A template is created for adjusting as is (not as it could be or even should be). The key is construction and its different methods. To clarify what I mean, have a look at those “methods” in following screencast, starting somewhere at 6:45 (it’s a series of videos so sometimes overlapping from the pervious).