Sticky Layer issues
Posted: Sun Jul 28, 2019 2:06 am
Hello @Pablo,
having issues with Sticky Layers.
Want to achieve the following:
Having a Sticky Layer with a text and a button in it, which is not visible when the page gets rendered. On a to be defined event, this Sticky Layer should get visible, which I would later achieve with JavaScript. Doing things step by step, I stumle already at this stage.
Made following attempt:
From a WB14 Project, now on WB15, adding to a master_frame a sticky layer, adding a text and a button as part of the layer. Object manager shows the hierarchy correctly. Having no style manually assigned to this layer nor to its childs.
Positive: I can publish my site to web and the new sticky layer with its childs is perfect visible.
Issue_1
When assigning a newly created style to the layer (and the childs), the visible formatting of the layer/content cant bee seen in WB anymore. You jsut get a frame. This is bad as you then cant see in WB how it looks. Any style attached makes this not only my defined one. I have to set the style to none to get the full visibility back.
Issue_2
As said above, I created a new style where I set General:Custom Styles: "visibility: hidden;" (without quotes). When applying that style to the layer and its childs and publish the site to web, you cant see the layer but the text and button where on the button the formatting is lost. This is weired.
Issue_3
I honestly thought that because objects are ambedded in the layer, it is/should be enough to set the visibility on the layer only, not neccessary on its childs. But I would like to get clarification on that.
Best Regards
having issues with Sticky Layers.
Want to achieve the following:
Having a Sticky Layer with a text and a button in it, which is not visible when the page gets rendered. On a to be defined event, this Sticky Layer should get visible, which I would later achieve with JavaScript. Doing things step by step, I stumle already at this stage.
Made following attempt:
From a WB14 Project, now on WB15, adding to a master_frame a sticky layer, adding a text and a button as part of the layer. Object manager shows the hierarchy correctly. Having no style manually assigned to this layer nor to its childs.
Positive: I can publish my site to web and the new sticky layer with its childs is perfect visible.
Issue_1
When assigning a newly created style to the layer (and the childs), the visible formatting of the layer/content cant bee seen in WB anymore. You jsut get a frame. This is bad as you then cant see in WB how it looks. Any style attached makes this not only my defined one. I have to set the style to none to get the full visibility back.
Issue_2
As said above, I created a new style where I set General:Custom Styles: "visibility: hidden;" (without quotes). When applying that style to the layer and its childs and publish the site to web, you cant see the layer but the text and button where on the button the formatting is lost. This is weired.
Issue_3
I honestly thought that because objects are ambedded in the layer, it is/should be enough to set the visibility on the layer only, not neccessary on its childs. But I would like to get clarification on that.
Best Regards