Page 3 of 5

Setting a background image

Posted: Fri Aug 30, 2013 10:26 am
by Priyanka Patel

another problem has come up, once I deleted and regenerated the source files.
The background image is no longer coming up.

I have created a new css file with this code in it,
.backgroundImg {

Code: Select all

 background-position: top center; 
 background-repeat: no-repeat; 
 background-image: url('files/views/assets/image/eatyourgreens_bg.jpg'); 
 background-size: cover!important; 

}

All the mobilecontainers' class have been renamed to backgroundImg.

It was working fine before, but its not anymore :(


Setting a background image

Posted: Fri Aug 30, 2013 10:28 am
by Priyanka Patel

do I need to trigger an event or somehow link this new css file?


Setting a background image

Posted: Fri Aug 30, 2013 10:37 am
by Maryna Brodina

you have errors in CSS. Please replace codebackground-image: url('files/views/assets/image/eatyourgreens_bg.jpg'); /code with codebackground-image: url('../image/eatyourgreens_bg.jpg');/code and codebackground-size: cover!important;/code with codebackground-size: cover !important;/code

[quote:]do I need to trigger an event of somehow link this new css file? [/quote] no


Setting a background image

Posted: Fri Aug 30, 2013 10:47 am
by Priyanka Patel

awesome thanks. This is working fine now.

Still get the problem with the footer though.


Setting a background image

Posted: Fri Aug 30, 2013 10:48 am
by Maryna Brodina

Could you give your public app link?


Setting a background image

Posted: Fri Aug 30, 2013 10:50 am
by Priyanka Patel

Setting a background image

Posted: Fri Aug 30, 2013 11:58 am
by Priyanka Patel

Any update?
Its particularly a problem in safari browsers.


Setting a background image

Posted: Fri Aug 30, 2013 12:00 pm
by Maryna Brodina

not yet...


Setting a background image

Posted: Fri Aug 30, 2013 12:01 pm
by Priyanka Patel

no worries. Thanks for taking a look :)


Setting a background image

Posted: Fri Aug 30, 2013 1:02 pm
by Maryna Brodina

Please uncheck "Full Screen" option for header.