私は現在Foundationと協力しているので、あなたの手助けをしようと思います。私はあなたのフィードバックが役立つ前にこれをしていなかったので。
まず、App.jsで、FluidOrbitに次の行を追加します。
$('#featuredContent').orbit({ fluid: '800x800' });
800x800は、オービットスライダーの幅と高さです。
次に、App.cssに次を追加します。
#featuredContent .back {
position: absolute;
top: 0;
left: 0;
z-index: -1;
}
これは、.jsファイルの#featuredContentを参照し、HTMLコードで使用する.backクラスを追加します。
<div id="featuredContent">
<div>
<h4>This is a content slider.</h4>
<p>Each slide holds arbitrary content, like text or actions.</p>
<img class="back" src="/images/test.jpg" />
</div>
<div>
<h4>We can include text and buttons, like this!</h4>
<p>We take no responsibility for what happens if you click this button.</p>
<p><a href="http://www.youtube.com/watch?v=dQw4w9WgXcQ" class="button" target="_blank">Rock My World!</a></p>
<img class="back" src="/images/test.jpg" />
</div>
<div>
<h4>We can include text and buttons, like this!</h4>
<p>We take no responsibility for what happens if you click this button.</p>
<p><a href="http://www.youtube.com/watch?v=dQw4w9WgXcQ" class="button" target="_blank">Rock My World!</a></p>
<img class="back" src="/images/test.jpg" />
</div>
</div>
これでうまくいくと思います。背景に画像があり、その下にタイトル(H4)と説明(P)があります。次を使用して、CSSのタイトルと説明の位置をカスタマイズすることもできます。
#featuredContent p {
}
と
#featuredContent h4 {
}