Mobile background image size + "fixed"

Questions related to the Responsive Web Design tools of WYSIWYG Web Builder.
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/respon ... esign.html
Please read this first before posting any questions! Also check out the example project to get an idea how the RWD concept works.

Responsive Web Design FAQ:
http://wysiwygwebbuilder.com/forum/view ... 10&t=63817
Post Reply
karkojk
 
 
Posts: 27
Joined: Tue May 23, 2023 5:52 pm

Mobile background image size + "fixed"

Post 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
Last edited by karkojk on Mon Jul 22, 2024 7:58 pm, edited 1 time in total.
User avatar
Pablo
 
Posts: 22486
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Mobile background image size + "fixed"

Post 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?
karkojk
 
 
Posts: 27
Joined: Tue May 23, 2023 5:52 pm

Re: Mobile background image size + "fixed"

Post 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.
User avatar
Pablo
 
Posts: 22486
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Mobile background image size + "fixed"

Post 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.
karkojk
 
 
Posts: 27
Joined: Tue May 23, 2023 5:52 pm

Re: Mobile background image size + "fixed"

Post 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
karkojk
 
 
Posts: 27
Joined: Tue May 23, 2023 5:52 pm

Re: Mobile background image size + "fixed"

Post 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.
Post Reply