コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2 返信
8917 ビュー

Hi,

I couldn't figure out to resize a website background image used with Parallax slider. Has anybody done this before? 

アバター
破棄
著作者 最善の回答

Yes of course I did try to ad a "with=800px" or similar to the Section of this container. But I not succed.

<section class="mt16 mb16 oe_img_bg" style="height: 152px; overflow: hidden; background-image: url(https://mysite/website/image/ir.attachment/172_ad786a5/datas);">    

 <section class="parallax oe_img_bg" data-scroll-background-offset="0" data-scroll-background-ratio="0.1" style="height: 312px; overflow: hidden; background-image: url(https://mysite/website/static/src/img/library/ipad.png); background-attachment: scroll; background-position: 0px 0px;">
   

The hight here is not the image but the height of the container. First example is just a text container with a background image, the second a vrtical parallax.

アバター
破棄
最善の回答

Can't you just force the change in the HTML editor ?

アバター
破棄
関連投稿 返信 ビュー 活動
1
3月 15
6377
1
3月 15
11792
1
1月 24
13248
0
3月 21
2686
4
7月 16
2191