Height defined as View height produces zoom effect on mobile
1 year 7 months ago #68371
by ferew
Hi,
I do set the following settings for height: Min height: 70 vh
it looks normal on the pc, but on the mobile, as it has a rectangular screen of big height, it produces a zoom effect instead of a different scrolling speed.
If the image is not square it produces zoom not from the start though.
Any fix for this?
Bests,
I do set the following settings for height: Min height: 70 vh
it looks normal on the pc, but on the mobile, as it has a rectangular screen of big height, it produces a zoom effect instead of a different scrolling speed.
If the image is not square it produces zoom not from the start though.
Any fix for this?
Bests,
Please Log in or Create an account to join the conversation.
1 year 7 months ago #68372
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Height defined as View height produces zoom effect on mobile
Hi
Please give me the url of the page so that I can check
CEd
Please give me the url of the page so that I can check
CEd
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
1 year 7 months ago - 1 year 7 months ago #68374
by ferew
Replied by ferew on topic Height defined as View height produces zoom effect on mobile
Hi,
a fix is to make a long image then it will work for both scenarios. Otherwise, if mobile view is bigger then the image, it start to zoom-in. I think it might be cropped somehow for this case.
bests
a fix is to make a long image then it will work for both scenarios. Otherwise, if mobile view is bigger then the image, it start to zoom-in. I think it might be cropped somehow for this case.
bests
Last edit: 1 year 7 months ago by ferew.
Please Log in or Create an account to join the conversation.
1 year 7 months ago #68375
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Height defined as View height produces zoom effect on mobile
the problem is that the image is too small to cover the whole area in mobile (ratio height/width is different)
you must try to enlarge the height of your image to avoid this.
anyway I have to say that this is not a big issue, and I find it quite cool
you must try to enlarge the height of your image to avoid this.
anyway I have to say that this is not a big issue, and I find it quite cool
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
1 year 7 months ago #68376
by ferew
Replied by ferew on topic Height defined as View height produces zoom effect on mobile
Yep, this is a solution
agree, it did not look bad, though expected to see something like in cassiopeia.joomla.com/
thanks
agree, it did not look bad, though expected to see something like in cassiopeia.joomla.com/
thanks
Please Log in or Create an account to join the conversation.
1 year 7 months ago #68377
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Height defined as View height produces zoom effect on mobile
to do the same as in Cassiopeia, you just need to setup the background image (in the template) as position:fixed
nothing more, and you don't need the Custom Parallax CK which gives a move to the image, which is not in Cassiopeia
nothing more, and you don't need the Custom Parallax CK which gives a move to the image, which is not in Cassiopeia
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
Time to create page: 0.214 seconds