Page 1 of 1
Different background for responsive matter
Posted: Sat Mar 13, 2021 5:46 pm
by makros
I have set up a background image and it is fine for the desktop view but a little bit big size for the smaller device.
Is there any way I can set up different image backgrounds for that reason and how?
Thanks for the guide.
Re: Different background for responsive matter
Posted: Sat Mar 13, 2021 6:25 pm
by Pablo
For most objects, you can set a different background in breakpoints.
Re: Different background for responsive matter
Posted: Tue Mar 16, 2021 12:47 pm
by makros
Pablo wrote: ↑Sat Mar 13, 2021 6:25 pm
For most objects, you can set a different background in breakpoints.
How about the image itself?
I put an image into a layout grid for in the default view and then switched to the breakpoint clicked on the image to select a different image but did not work.
Is that the way should it work?
or do I have to first hide it from the object manager to be able to put the new image?
I believe I should be able to do it without hiding it from the object manager.
Thanks for any comment.
Re: Different background for responsive matter
Posted: Tue Mar 16, 2021 1:03 pm
by crispy68
Pablo was referring to you can have different backgrounds for the layout grid in breakpoints. This is done in the layout grid properties thru the style tab.
However, if you are simply inserting an image into a layout grid, you would have to hide it in the breakpoint and show another image in the breakpoint. Inserting an image into the grid is not the same as the background of the grid.
Re: Different background for responsive matter
Posted: Tue Mar 16, 2021 1:29 pm
by Pablo
How about the image itself?
A standard HTML 'Image' does not support different files in breakpoints.
However, it is possible with the picture object
https://wysiwygwebbuilder.com/picture.html
Re: Different background for responsive matter
Posted: Tue Mar 16, 2021 3:22 pm
by makros
Thanks pablo and crispy68 for sharing great information!!
Now I understood How to change image and background for different breakpoints as well as for default size screen.
Thanks again