Forum Discussion
Make text on master slide always on top
Doesn't seem to work with layers on the slide. Either that or I have no idea how to trigger the '[data-acc-text="footer"]' correctly, I named the text box "footer"
Let’s say you have a shape or text on a master slide that you always want to appear on top. Right-click the element, select Accessibility, and enter some Alternative Text—this can be anything you like, just make sure the same text is used in your code. Then, create an Execute JavaScript trigger with the following code:
document.querySelector('[data-acc-text="footer"]').style.zIndex = "9999";
- JamesCarson3 hours agoCommunity Member
OK tried that too, but still doesn't work. Looks like the layers are on top and not the footer.
- Nedim2 hours agoCommunity Member
Layers work a bit differently. They use the Feedback Master layout not the Slide Master layout, so any objects on layers will always appear on top of the base layer by default.
If you want a footer (or any other element) to stay on top of both the base layer and any slide layers, you’ll need to add it to the Feedback Master slide (normally "Blank" layout), as well and target it again with JavaScript to assign it a higher z-index value.
In this example, the footer element is positioned on top of the gray background shape on both the base layer and other layers. Attached is the Storyline file used in this example.
- JamesCarson2 hours agoCommunity Member
For whatever reason, still doesn't work. They just need to make this an easy option.