ember-cli-materialize icon indicating copy to clipboard operation
ember-cli-materialize copied to clipboard

Parallax Enhancement.

Open NiQ-B opened this issue 10 years ago • 1 comments

In an effort to replicate the materializecss.com demo parallax template. http://materializecss.com/templates/parallax-template/preview.html I discovered that I couldn't overlay content onto the image. I altered the md-parallax.hbs:

From:

<div class="parallax">  
  <img src="{{image}}"/>
</div>"

To:

{{yield}}
<div class="parallax">  
  <img src="{{image}}"/>
</div>

This allowed me to overlay content on to the image displayed in the parallax.

NiQ-B avatar Sep 08 '15 13:09 NiQ-B

Hey @niquelbarron I ran into the same problem. Thanks for the simple solution! I put it in a PR here: https://github.com/mike-north/ember-cli-materialize/pull/259

vovantics avatar Oct 08 '15 20:10 vovantics