Page 1 of 1

In grids, the background-image does not change at breakpoints.

Posted: Thu Apr 29, 2021 12:19 pm
by spoon
In grids, the background-image does not change at breakpoints.
In grids overkill: hidden.

Now such css code on default and breakpoints:

Code: Select all

#indexLayoutGrid1 > .row > .col-1 {
    background-image: url(../images/foto1.jpg);
It should be like this:

default

Code: Select all

#indexLayoutGrid1 > .row > .col-1 {
    background-image: url(../images/foto1.jpg);}
breakpoints

Code: Select all

@media (max-width: 480px){
#indexLayoutGrid1 > .row > .col-1 {
    background-image: url(../images/foto2.jpg);}
}

Re: In grids, the background-image does not change at breakpoints.

Posted: Thu Apr 29, 2021 2:13 pm
by Pablo
The background image of layout grids columns is the same for all breakpoints. This is behavior by design.

Re: In grids, the background-image does not change at breakpoints.

Posted: Thu Apr 29, 2021 2:20 pm
by spoon
It's a pity! but the pictures do not change either

Re: In grids, the background-image does not change at breakpoints.

Posted: Thu Apr 29, 2021 3:09 pm
by Pablo
What do you mean by "the pictures do not change"?
Do you have a demo ?

Re: In grids, the background-image does not change at breakpoints.

Posted: Fri Apr 30, 2021 2:48 am
by spoon

Re: In grids, the background-image does not change at breakpoints.

Posted: Fri Apr 30, 2021 6:04 am
by Pablo
Firstly, the names of the images are invalid.
Filenames should not start with a number.
Related FAQ:
http://www.wysiwygwebbuilder.com/forum/ ... f=10&t=131

Also, as mentioned the background image of grid columns are not responsive. The background of a column is the same for all breakpoints.
The background image of the the grid itself is responsive.

Re: In grids, the background-image does not change at breakpoints.

Posted: Fri Apr 30, 2021 12:05 pm
by spoon
The background of a column is the same for all breakpoints.
ill this feature be available in the future? Thank you.

Re: In grids, the background-image does not change at breakpoints.

Posted: Fri Apr 30, 2021 12:14 pm
by Pablo
Due to the complexity of grids it will be difficult to implement this.
Also, it will add extra weight to the project size because lots of extra properties need to be stored for each column, per breakpoint.