Skip to main content
JH-Wendy
Inspiring
Apr 4, 2025 3:35 PM UTC
Answered

How to Hide Main Layer Content Behind Digital Layer in Interactive Document?

I have a document with the Main layer everyone sees and a digital layer which holds interactive items.  It works mostly BUT

One of the things is an example in a Q&A format.  on the main layer (used to create the printed book) both the question and answer are visible.  On the digital layer there is a prompt to think about their answer and then click to reveal the answer.  Unfortunatley, even though the  Digital layer is presumably on top of the Main layer, the text on the main layer is showing through the prompt on the digital layer.  Is there a way to make the digital layer 'cover' what is on the main layer on page load so the answer doesn't show until they click the prompt?

 

It works if I put the answer on its own layer and print one layer or the other. I am trying to avoid the additional 2nd layer.

 

Thanks!

Wendy

 

<Title renamed by MOD> 

JH-Wendy
JH-WendyCorrect answer
Inspiring
Apr 4, 2025 3:59 PM UTC

I am using Acrobat, and if I put the Answer text on a layer instead of the main it works fine but then there is nothing in that space on the main, therefore when I use the Digital layer there is nothing to bleed through as it is on a different layer.  I am hoping there is a way to make what is on the main not show over the top of the layer.  

 

Sorry to bug you, iI figured it out, turns out the prompt had no fill, all I had to do was put a white box on the layer over the space used by the answer on the main layer. When they click to get the answer I just hide the white box and they can see the answer below.

6 replies

BobLevine
Community Expert
Community Expert
Apr 4, 2025 3:47 PM UTC

Where are you testing this? Many PDF readers don't honor layers.

Translate
JH-Wendy
JH-WendyAuthorCorrect answer
Inspiring
Apr 4, 2025 3:59 PM UTC

I am using Acrobat, and if I put the Answer text on a layer instead of the main it works fine but then there is nothing in that space on the main, therefore when I use the Digital layer there is nothing to bleed through as it is on a different layer.  I am hoping there is a way to make what is on the main not show over the top of the layer.  

 

Sorry to bug you, iI figured it out, turns out the prompt had no fill, all I had to do was put a white box on the layer over the space used by the answer on the main layer. When they click to get the answer I just hide the white box and they can see the answer below.

Translate
BobLevine
Community Expert
Community Expert
Apr 4, 2025 4:06 PM UTC

All good, but again, test in a browser and other PDF readers. And BTW, mobile is a whole other ballgame. PDFs are not responsive and this whole thing will likely fail there.

Translate
Robert at ID-Tasker
Legend
Apr 4, 2025 3:39 PM UTC

You need to create an Interactive element that will cover everything else - and then "will go away" - can be hidden.

 

Translate