Page 1 of 1

Mobile background image size + "fixed"

Posted: Sun Jul 21, 2024 5:33 am
by karkojk
Hi, I'm making a hasty page based on the "drinks" template.
I got stuck on the mobile view. It could be handled differently, but it's lying in my head, I normally handle this, but in "properties" I can't put it together.
When I set a "fixed" background image, I don't control that part of it. When I put "cover" it is the size it should be, but with wide margins. The combination of "fixed" and "cover" also does nothing.
https://ln5.sync.com/dl/4c0701170/xvi7s ... f-q7ppv8qu

Re: Mobile background image size + "fixed"

Posted: Sun Jul 21, 2024 6:50 am
by Pablo
It seems to be working correct. Note that this is is not specific to WWB. This is HTML's 'cover' works.
What did you expect to happen?

Re: Mobile background image size + "fixed"

Posted: Sun Jul 21, 2024 8:03 am
by karkojk
This isn't a complaint of WWB, I just can't seem to set the image size in the mobile version to have all the text/image there.
When I put "size: cover", it's all there with "fixed" not. I goes for the "scrolling" effect over the image though it's not important, but technically I'm interested.
That's why I'm asking if I'm overlooking something, otherwise I don't want to bother.

Re: Mobile background image size + "fixed"

Posted: Sun Jul 21, 2024 9:37 am
by Pablo
Your background image is landscape so it will not fit on a portrait (mobile) view.
If you want a the text to fit on both landscape and portrait, then you will have to update your image. Or use a different image for mobile.

Re: Mobile background image size + "fixed"

Posted: Sun Jul 21, 2024 2:57 pm
by karkojk
Thanks, that's cool, that's what I'm asking if I missed something.
The image also came to mind, and I tried just a small one with resizing/resizing the existing image. I originally thought "cover" would keep the size and "fixed" would lock the movement. I don't have this in my eye/head, and I don't find the information in my head like I did 30 years ago. :D

Re: Mobile background image size + "fixed"

Posted: Tue Jul 23, 2024 8:03 am
by karkojk
So I've already stumbled upon the reason why I couldn't understand the behavior of images on different devices. I was starting from a ready-made template to speed things up and he was the "sticky layer" that I had overlooked.