Priyanka Patel
Posts: 0
Joined: Sat Aug 17, 2013 5:41 am

Setting a background image

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 :(

Priyanka Patel
Posts: 0
Joined: Sat Aug 17, 2013 5:41 am

Setting a background image

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

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Setting a background image

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

Priyanka Patel
Posts: 0
Joined: Sat Aug 17, 2013 5:41 am

Setting a background image

awesome thanks. This is working fine now.

Still get the problem with the footer though.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Setting a background image

Could you give your public app link?

Priyanka Patel
Posts: 0
Joined: Sat Aug 17, 2013 5:41 am

Setting a background image

Any update?
Its particularly a problem in safari browsers.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Setting a background image

not yet...

Priyanka Patel
Posts: 0
Joined: Sat Aug 17, 2013 5:41 am

Setting a background image

no worries. Thanks for taking a look :)

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Setting a background image

Please uncheck "Full Screen" option for header.

Return to “Issues”