Morning Joe,
I was wondering if it's possible to create a full width hero banner on a page.
At the moment, I'm using the Background Begin/End includelet, as that appears to be the only includelet that is not constrained by a container and will stretch to the full width of site. However, the only way to make the image appear is to give it a set size (1x3 for example), and given the original purpose of the Background includelet, the height is shrunk/constricted dependant on the browser window size. I've created a design template to circumvent this 'cut-off' area, but was wondering if you had a better alternative?
Below are some examples of what I've done:
Connections Cafe - Community House
Saturday Cafe Now Closed - Community House
Thanks!
Jo
I think you're on the right lines - the Background Begin/End is your main option here.
One problem with the max-height of the banner image area is that the cropping changes as it gets bigger. Maybe this is OK to live with for now, though using the fixed aspect ratio might be better?
I'm thinking maybe what we really need is to configure a banner in the Theme settings, then have a way to override your default banner on a per-page (or per-application) basis. You could then go wild with banners, and we could make it work in each of the themes in a suitable way, without you having to squish it in using includelets.
I'll think this through and see if I can come up with a nice/clever way of configuring banners which all sites could use, whichever theme they choose.
Joe