Z-index problem with Panel Layer

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
Bluesman
 
 
Posts: 1157
Joined: Mon Feb 01, 2016 5:43 pm
Location: Sweden
Contact:

Z-index problem with Panel Layer

Post by Bluesman »

Hi Pablo and team. Using the Panel layer for menu at the left border with the trigger button at the right top in the header having problem that the panel goes under the footer when scrolled down.
Have set the z-index to: 12000 for the panel layer. The z-index for the footer layout grid seams to be 10000

Using this code for the z-index on the master page were both panel layer and footer are located:

<style>
#PanelLayer
{
z-index: 12000 !important;
}
</style>

(At Page html between headers)

Page: https://www.tellusskomakeri.se/test/
"Make My Day"

See my Website
User avatar
Pablo
 
Posts: 22472
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Z-index problem with Panel Layer

Post by Pablo »

Are you sure you haven't set the z-index of the footer to '10000' yourself?
If you need help with this, then please share a demo project so I can see all your settings.
wwonderfull
 
 
Posts: 1439
Joined: Fri Aug 21, 2020 8:27 am
Contact:

Re: Z-index problem with Panel Layer

Post by wwonderfull »

Bluesman wrote: Thu Mar 07, 2024 8:45 am Hi Pablo and team. Using the Panel layer for menu at the left border with the trigger button at the right top in the header having problem that the panel goes under the footer when scrolled down.
Have set the z-index to: 12000 for the panel layer. The z-index for the footer layout grid seams to be 10000

Using this code for the z-index on the master page were both panel layer and footer are located:

<style>
#PanelLayer
{
z-index: 12000 !important;
}
</style>

(At Page html between headers)

Page: https://www.tellusskomakeri.se/test/

Code: Select all

#PanelLayer_panel {
    z-index: 10000;
}
User avatar
Bluesman
 
 
Posts: 1157
Joined: Mon Feb 01, 2016 5:43 pm
Location: Sweden
Contact:

Re: Z-index problem with Panel Layer

Post by Bluesman »

wwonderfull wrote: Thu Mar 07, 2024 12:51 pm
Bluesman wrote: Thu Mar 07, 2024 8:45 am Hi Pablo and team. Using the Panel layer for menu at the left border with the trigger button at the right top in the header having problem that the panel goes under the footer when scrolled down.
Have set the z-index to: 12000 for the panel layer. The z-index for the footer layout grid seams to be 10000

Using this code for the z-index on the master page were both panel layer and footer are located:

<style>
#PanelLayer
{
z-index: 12000 !important;
}
</style>

(At Page html between headers)

Page: https://www.tellusskomakeri.se/test/

Code: Select all

#PanelLayer_panel {
    z-index: 10000;
}
Hi wonderful, tnx for jumping in. I don't get it... do you mean I have written the code wrong? The objects name is: PanelLayer not PanelLayer_panel ??
"Make My Day"

See my Website
User avatar
Bluesman
 
 
Posts: 1157
Joined: Mon Feb 01, 2016 5:43 pm
Location: Sweden
Contact:

Re: Z-index problem with Panel Layer

Post by Bluesman »

Pablo wrote: Thu Mar 07, 2024 10:14 am Are you sure you haven't set the z-index of the footer to '10000' yourself?
If you need help with this, then please share a demo project so I can see all your settings.
Hi Pablo, tnx for checking. I have not set the z-index for the footer, but when checking the HTML I can see it sais 10000.
For now I wonder if the code I use is correct? Or can I set the z-index in another way?
"Make My Day"

See my Website
User avatar
crispy68
 
 
Posts: 2912
Joined: Thu Oct 23, 2014 12:43 am
Location: Acworth, GA
Contact:

Re: Z-index problem with Panel Layer

Post by crispy68 »

@bluesman,

Wonderful's code is correct. You are targeting the wrong part of the panel layer.
User avatar
Bluesman
 
 
Posts: 1157
Joined: Mon Feb 01, 2016 5:43 pm
Location: Sweden
Contact:

Re: Z-index problem with Panel Layer

Post by Bluesman »

Aha... tnx crispy and wwonderful, chall check at once. :D
"Make My Day"

See my Website
User avatar
VictorKrs
 
 
Posts: 209
Joined: Sun May 17, 2020 8:08 pm

Smooth switching between pages: Z-index problem with Panel Layer

Post by VictorKrs »

Hello Bluesman!

Please tell me, how did you do the smooth switching between pages on the site? Or is it taking so long for my page to load? :)
User avatar
Bluesman
 
 
Posts: 1157
Joined: Mon Feb 01, 2016 5:43 pm
Location: Sweden
Contact:

Re: Smooth switching between pages: Z-index problem with Panel Layer

Post by Bluesman »

VictorKrs wrote: Thu Mar 07, 2024 6:54 pm Hello Bluesman!

Please tell me, how did you do the smooth switching between pages on the site? Or is it taking so long for my page to load? :)
Hi Victor. I'm using the free extension "Page Transitions" https://www.wysiwygwebbuilder.com/pagetransitions.html
I am using the settings:
Fade In duration 600
Fade out duration 600
"Make My Day"

See my Website
User avatar
VictorKrs
 
 
Posts: 209
Joined: Sun May 17, 2020 8:08 pm

Re: Smooth switching between pages: Z-index problem with Panel Layer

Post by VictorKrs »

Bluesman wrote: Thu Mar 07, 2024 7:08 pm
VictorKrs wrote: Thu Mar 07, 2024 6:54 pm Hello Bluesman!

Please tell me, how did you do the smooth switching between pages on the site? Or is it taking so long for my page to load? :)
Hi Victor. I'm using the free extension "Page Transitions" https://www.wysiwygwebbuilder.com/pagetransitions.html
I am using the settings:
Fade In duration 600
Fade out duration 600
Thanks,Bluesman!
This extension works fine for you. I will figure out why this extension does not work properly for me...
User avatar
Bluesman
 
 
Posts: 1157
Joined: Mon Feb 01, 2016 5:43 pm
Location: Sweden
Contact:

Re: Z-index problem with Panel Layer

Post by Bluesman »

crispy68 wrote: Thu Mar 07, 2024 4:28 pm @bluesman,

Wonderful's code is correct. You are targeting the wrong part of the panel layer.
Hi and tnx again crispy. I'm wrecking my head around this. Clearly the target is as you tell me and I check in the HTML. But the object is named as I wrote?? The first time I experience this that the software renames the object into the HTML file?? Do you know why?
"Make My Day"

See my Website
User avatar
Bluesman
 
 
Posts: 1157
Joined: Mon Feb 01, 2016 5:43 pm
Location: Sweden
Contact:

Re: Smooth switching between pages: Z-index problem with Panel Layer

Post by Bluesman »

VictorKrs wrote: Thu Mar 07, 2024 7:27 pm
Bluesman wrote: Thu Mar 07, 2024 7:08 pm
VictorKrs wrote: Thu Mar 07, 2024 6:54 pm Hello Bluesman!

Please tell me, how did you do the smooth switching between pages on the site? Or is it taking so long for my page to load? :)
Hi Victor. I'm using the free extension "Page Transitions" https://www.wysiwygwebbuilder.com/pagetransitions.html
I am using the settings:
Fade In duration 600
Fade out duration 600
Thanks,Bluesman!
This extension works fine for you. I will figure out why this extension does not work properly for me...
Do you have a link to the page you are using it on? Do you have it on a master page or on each single page? In this project I have it on each page.
"Make My Day"

See my Website
User avatar
crispy68
 
 
Posts: 2912
Joined: Thu Oct 23, 2014 12:43 am
Location: Acworth, GA
Contact:

Re: Z-index problem with Panel Layer

Post by crispy68 »

@bluesman,

The ID of the panel layer is PanelLayer but there is a <div> outside of this ID called PanelLayer_Panel. WB generates this code. This container is what was falling behind your footer. Since ID PanelLayer is inside PanelLayer_Panel, you need to target the outer <div> and not the inner <div>. Looks like this in the html code:

Code: Select all

<div id="PanelLayer_panel">
  <div id="PanelLayer">
  </div>
</div>

Setting the z-index of the inner <div> only affects it inside the PanelLayer_panel <div> and not the rest of the page.
User avatar
Bluesman
 
 
Posts: 1157
Joined: Mon Feb 01, 2016 5:43 pm
Location: Sweden
Contact:

Re: Z-index problem with Panel Layer

Post by Bluesman »

crispy68 wrote: Thu Mar 07, 2024 8:00 pm @bluesman,

The ID of the panel layer is PanelLayer but there is a <div> outside of this ID called PanelLayer_Panel. WB generates this code. This container is what was falling behind your footer. Since ID PanelLayer is inside PanelLayer_Panel, you need to target the outer <div> and not the inner <div>. Looks like this in the html code:

Code: Select all

<div id="PanelLayer_panel">
  <div id="PanelLayer">
  </div>
</div>

Setting the z-index of the inner <div> only affects it inside the PanelLayer_panel <div> and not the rest of the page.
So for getting the outer id, must I check the generated code? Or can I find it in another way?
"Make My Day"

See my Website
User avatar
crispy68
 
 
Posts: 2912
Joined: Thu Oct 23, 2014 12:43 am
Location: Acworth, GA
Contact:

Re: Z-index problem with Panel Layer

Post by crispy68 »

You will need to check the generated code BUT for any future panel layers it will be similar to this. It's simply the ID followed by _panel.

So you if you gave the panel layer an ID of Bluesman, then it would just be: Bluesman_panel. Make sense?
User avatar
Bluesman
 
 
Posts: 1157
Joined: Mon Feb 01, 2016 5:43 pm
Location: Sweden
Contact:

Re: Z-index problem with Panel Layer

Post by Bluesman »

crispy68 wrote: Thu Mar 07, 2024 9:06 pm You will need to check the generated code BUT for any future panel layers it will be similar to this. It's simply the ID followed by _panel.

So you if you gave the panel layer an ID of Bluesman, then it would just be: Bluesman_panel. Make sense?
When you know it, it make sense 🌞but does this come with other objects as well?
Tnx crispy
"Make My Day"

See my Website
User avatar
crispy68
 
 
Posts: 2912
Joined: Thu Oct 23, 2014 12:43 am
Location: Acworth, GA
Contact:

Re: Z-index problem with Panel Layer

Post by crispy68 »

There are several other objects that WB will add a 'wb_' prefix to. So yes, there are times you may have to use #wb_objectID versus just #objectID. As for some of the other menus, they may be a bit different as those are sometimes more complicated.
User avatar
Bluesman
 
 
Posts: 1157
Joined: Mon Feb 01, 2016 5:43 pm
Location: Sweden
Contact:

Re: Z-index problem with Panel Layer

Post by Bluesman »

crispy68 wrote: Fri Mar 08, 2024 12:22 am There are several other objects that WB will add a 'wb_' prefix to. So yes, there are times you may have to use #wb_objectID versus just #objectID. As for some of the other menus, they may be a bit different as those are sometimes more complicated.
Tnx crispy... then we will see what comes around :D
"Make My Day"

See my Website
wwonderfull
 
 
Posts: 1439
Joined: Fri Aug 21, 2020 8:27 am
Contact:

Re: Z-index problem with Panel Layer

Post by wwonderfull »

Bluesman wrote: Thu Mar 07, 2024 3:36 pm Hi wonderful, tnx for jumping in. I don't get it... do you mean I have written the code wrong? The objects name is: PanelLayer not PanelLayer_panel ??
As @crispy68 has mentioned everything fluently and added to that is that the PanelLayer_panel is generated using jQuery so it is more like a dynamic element as we interact with it using the menu. Inside of wwb what we configure is actually the div inside which all the menu contains which is the PanelLayer but that itself contains inside that long side panel which gets the panel extension added because of the jQuery code var f = d.id + "_panel"; and because of that the PanelLayer becomes PanelLayer_panel for creating that long side panel.
User avatar
Bluesman
 
 
Posts: 1157
Joined: Mon Feb 01, 2016 5:43 pm
Location: Sweden
Contact:

Re: Z-index problem with Panel Layer

Post by Bluesman »

wwonderfull wrote: Sat Mar 09, 2024 8:10 am
Bluesman wrote: Thu Mar 07, 2024 3:36 pm Hi wonderful, tnx for jumping in. I don't get it... do you mean I have written the code wrong? The objects name is: PanelLayer not PanelLayer_panel ??
As @crispy68 has mentioned everything fluently and added to that is that the PanelLayer_panel is generated using jQuery so it is more like a dynamic element as we interact with it using the menu. Inside of wwb what we configure is actually the div inside which all the menu contains which is the PanelLayer but that itself contains inside that long side panel which gets the panel extension added because of the jQuery code var f = d.id + "_panel"; and because of that the PanelLayer becomes PanelLayer_panel for creating that long side panel.
Tnx for that explanation wwonderful
"Make My Day"

See my Website
Post Reply