*** SOLVED *** MODAL LAYER BACKGROUND NOT SHOWING IN ALL BUT DEFAULT VIEW PORT

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
ColinM
 
 
Posts: 913
Joined: Wed Feb 09, 2011 3:40 am
Location: Western Australia

*** SOLVED *** MODAL LAYER BACKGROUND NOT SHOWING IN ALL BUT DEFAULT VIEW PORT

Post by ColinM »

Hi Pablo,

Software Version - WYSIWG WB - 32 Bit - V 16.0.03 - 3 October 2020

a) I have a Client project.
b) There are 6 cards - one for for each event.
c) I have them in two 3 column layout grids.
d) That 3 column layout grid is in a superordinate single column layout grid.
e) c) is used so I can space the cards. with column (cell) padding.
f) Each event card has a More Information button.
g) In each of those event buttons I invoke the display of a modal layer for each event.

This works perfectly fine in the 1920 default viewport - but when I preview/FTP and view the 1588 and 1366 viewports - the contents of the modal layer shows but not the layer itself - that is, it is invisible?

I tried moving the cards into a non nested Layout Grid - but still had the same problem.

Extracted Project Elements:
1) webpage

2) Zipped Project Extract
Yours truly
Colin M
Western Australia
User avatar
Pablo
 
Posts: 23593
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: MODAL LAYER BACKGROUND NOT SHOWING IN ALL BUT DEFAULT VIEW PORT

Post by Pablo »

I could not load your project because it contains third party extensions.
Can you please remove all extensions and other content that is not relevant to your question?

Related FAQ:
https://www.wysiwygwebbuilder.com/forum ... 10&t=82134
User avatar
ColinM
 
 
Posts: 913
Joined: Wed Feb 09, 2011 3:40 am
Location: Western Australia

Re: MODAL LAYER BACKGROUND NOT SHOWING IN ALL BUT DEFAULT VIEW PORT

Post by ColinM »

Hi Pablo,
Interesting - you've never had a problem downloading/viewing previous extracts and I haven't installed any more extensions - is that to do with WB16?

ANYWAY, How do I remove the third party extensions for you and keep them otherwise please?
Yours truly
Colin M
Western Australia
User avatar
Pablo
 
Posts: 23593
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: MODAL LAYER BACKGROUND NOT SHOWING IN ALL BUT DEFAULT VIEW PORT

Post by Pablo »

- save the project under a different name
- remove all pages except the one your question is about
- on the page, remove all script and extensions. Basically the page shoudl only content the elements that you are having an issue with.
User avatar
ColinM
 
 
Posts: 913
Joined: Wed Feb 09, 2011 3:40 am
Location: Western Australia

Re: MODAL LAYER BACKGROUND NOT SHOWING IN ALL BUT DEFAULT VIEW PORT

Post by ColinM »

Yes, sorry, forgot to remove the other pages - working on it now...
Yours truly
Colin M
Western Australia
User avatar
ColinM
 
 
Posts: 913
Joined: Wed Feb 09, 2011 3:40 am
Location: Western Australia

Re: MODAL LAYER BACKGROUND NOT SHOWING IN ALL BUT DEFAULT VIEW PORT

Post by ColinM »

Hi Pablo,

OK try now

webpage

projectextract
Yours truly
Colin M
Western Australia
User avatar
Pablo
 
Posts: 23593
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: MODAL LAYER BACKGROUND NOT SHOWING IN ALL BUT DEFAULT VIEW PORT

Post by Pablo »

Thanks for the updated project. Now I was able to open it.

If you control elements via events (JavaScript) then the option 'include visibility' should be off. Otherwise there will have a conflict between CSS and JavaScript.

See also "When using events, the visibility is affected by breakpoints." i nthe FAQ:
https://www.wysiwygwebbuilder.com/forum ... 10&t=63817
User avatar
ColinM
 
 
Posts: 913
Joined: Wed Feb 09, 2011 3:40 am
Location: Western Australia

Re: MODAL LAYER BACKGROUND NOT SHOWING IN ALL BUT DEFAULT VIEW PORT

Post by ColinM »

OK - our time differential means that I always get you at a long day :D

So I'm tired...

I've turned off the visibility in two of the modal layers via modal layer object > right click - untick Include Visibility (RWD) but the BG of the modal layer in the 1588 BP is still invisible? :?
Yours truly
Colin M
Western Australia
User avatar
ColinM
 
 
Posts: 913
Joined: Wed Feb 09, 2011 3:40 am
Location: Western Australia

Re: MODAL LAYER BACKGROUND NOT SHOWING IN ALL BUT DEFAULT VIEW PORT

Post by ColinM »

and why can I see the content of the modal layer and not the layer BG?
Yours truly
Colin M
Western Australia
User avatar
Pablo
 
Posts: 23593
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: MODAL LAYER BACKGROUND NOT SHOWING IN ALL BUT DEFAULT VIEW PORT

Post by Pablo »

I have tried it in your project and it works for me.
and why can I see the content of the modal layer and not the layer BG?
This is related to the way JavaScript show/hide work vs CSS visibility. See the FAQ.
User avatar
ColinM
 
 
Posts: 913
Joined: Wed Feb 09, 2011 3:40 am
Location: Western Australia

Re: MODAL LAYER BACKGROUND NOT SHOWING IN ALL BUT DEFAULT VIEW PORT

Post by ColinM »

GOT IT!!!!!!

Of course I had to set that in the default view - OMG Pablo - your brain cavity must be a TARDIS to keep track of all of this!!! :lol: :shock: :D
Yours truly
Colin M
Western Australia
User avatar
ColinM
 
 
Posts: 913
Joined: Wed Feb 09, 2011 3:40 am
Location: Western Australia

Re: *** SOLVED *** MODAL LAYER BACKGROUND NOT SHOWING IN ALL BUT DEFAULT VIEW PORT

Post by ColinM »

Thank you so much Pablo - your unlimited brain power saves the day once again! :D 8)

Makes a lot of sense now I've digested it.
Yours truly
Colin M
Western Australia
Post Reply