Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

[V8] How to change bootstrap background image size

By
Lucas Huber
on 12/15/14, 11:44 AM 1,727 views

Hi,

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

1
Lucas Huber
On 12/15/14, 1:27 PM

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.

0
Fouric
On 12/15/14, 12:38 PM

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

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 12/15/14, 11:44 AM
Seen: 1727 times
Last updated: 3/16/15, 8:10 AM