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

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
IMPORTANT NOTE!!

DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.



PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
User avatar
spoon
 
 
Posts: 96
Joined: Thu Oct 26, 2017 9:23 am

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

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

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

Post by Pablo »

The background image of layout grids columns is the same for all breakpoints. This is behavior by design.
User avatar
spoon
 
 
Posts: 96
Joined: Thu Oct 26, 2017 9:23 am

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

Post by spoon »

It's a pity! but the pictures do not change either
User avatar
Pablo
 
Posts: 21508
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

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

Post by Pablo »

What do you mean by "the pictures do not change"?
Do you have a demo ?
User avatar
spoon
 
 
Posts: 96
Joined: Thu Oct 26, 2017 9:23 am

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

Post by spoon »

User avatar
Pablo
 
Posts: 21508
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

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

Post 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.
User avatar
spoon
 
 
Posts: 96
Joined: Thu Oct 26, 2017 9:23 am

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

Post by spoon »

The background of a column is the same for all breakpoints.
ill this feature be available in the future? Thank you.
User avatar
Pablo
 
Posts: 21508
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

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

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