Static background for mobile and tablet

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Tue Sep 18, 2012 6:23 pm
Reply with quote
Report this post
How i can use a static image as background image in parallax for tablet and mobile?
Thanks
User avatar
Senior Boarder

GK User
Tue Sep 18, 2012 6:57 pm
Reply with quote
Report this post
Hi,

In general there was used the static image as a background of the parallax animation in the tablet.css and the mobile.css files.
User avatar
Administrator

GK User
Thu Sep 20, 2012 6:13 pm
Reply with quote
Report this post
Seems that it loads the same background, this is the style applied when the resolution is small:
Code: Select all
.loaded.gkp-background-top {
    background: url("../images/parallax/background_top.jpg") no-repeat scroll center 0px transparent !important;
}


The url is www.festamolesta.it/festa2012

I have changed this file:
www.festamolesta.it/festa2012/templates ... le_top.jpg
with new background.

With web developer for firefox can I see all the resolution for: mobile portrait, mobile landscape, tablet portrait, tablet landscape and in all of these the background is the same of the standard site.
User avatar
Senior Boarder

GK User
Thu Sep 20, 2012 8:47 pm
Reply with quote
Report this post
In general the mobile and tablet images are placed in the images/responsive directory - these images are used in the mobile.css and the tablet.css files.
User avatar
Administrator

GK User
Wed Sep 26, 2012 7:23 pm
Reply with quote
Report this post
I'm happy that in general it works but not in my case: I have put my images in /templates/gk_creative/templates/images/responsive/ changing the file "parallax_mobile_top.jpg" and it isn't loaded.

I haven't changed other thing in the structure of the template.
User avatar
Senior Boarder

GK User
Wed Sep 26, 2012 7:31 pm
Reply with quote
Report this post
But no image is loaded or the old image is loaded? If the old one then it can be caused by the browser cache.
User avatar
Administrator


cron