Hello,
How can I make a global layer on slider using child theme ? Because when is more than 1 slider and it changed – this layer moving too
Hey mdxclr!
I am really sorry but your question is not clear enough.
Please try to descirbe for us, exactly what you need so we can help you properly.
Best regards,
Basilis
I have 4 sliders. I create a layer on each of them, but when the slider is changed – this layer hide and show again.
I want to make a global layer (transparent label with a text, like on my screenshot) on ALL sliders. It must be 1 layer on all 4 sliders.
I can do this if edit templates of layer slider, but after update – I lose my changes. Is there any other way?
It calls “Static layer”, found solution here: https://kriesi.at/support/topic/layerslider-wp-static-slide-layer-over-all-slides/
But is any way to add code inside layer slider div?
Hi!
You could create a new layer in the slide and add whatever you need in the “Text” tab of the layer.
Regards,
Elliott
But if slide change – this layer fade-out and fade-in again or blink.
Hi!
Unfortunately, there is no global layer option in the layer slider at the moment except for the YourLogo option which is an image visible throughout the slider transition. You can find it on Slider Settings > YourLogo.
Regards,
Ismael
The best way to make this is a function:
add_filter('ava_after_main_container', 'ava_after_main_container_mod', 20, 1);
function ava_after_main_container_mod() {
$output = 'custom_code';
echo $output;
}
Solved.