I use a Layer Slider popup as a call-to-action to get people to a specific part on my page. But, when the button (that links to a unique identifier) is clicked, the page scrolls down, but the popup appears again. How can I prevent the popup from covering the part of the page I linked to?
I have checked the URL you provided but as I can see the popup bar generated by LayerSlider does not have any link set currently. The View Offers button is not clickable. Where exactly can we check this behavior ?
It can be found here: https://recent.reviews/namecheap-reviews/. When you click the View Offers button, the page scrolls down, but the popup covers the area I linked to. How can I prevent this from happening?
Since your layer is linked you will need to apply the class on the link itself and not on the layer.
To achieve that you will have to create a new attribute in the custom attributes section. After that you will have to set its attribute name to "class", set the attribute value to "ls-close-popup" and enable the ON PARENT switch.
I use a Layer Slider popup as a call-to-action to get people to a specific part on my page. But, when the button (that links to a unique identifier) is clicked, the page scrolls down, but the popup appears again. How can I prevent the popup from covering the part of the page I linked to?
Hey jeroenvangils,
I have checked the URL you provided but as I can see the popup bar generated by LayerSlider does not have any link set currently. The View Offers button is not clickable. Where exactly can we check this behavior ?
It can be found here: https://recent.reviews/namecheap-reviews/. When you click the View Offers button, the page scrolls down, but the popup covers the area I linked to. How can I prevent this from happening?
To avoid this you can close the popup when the linked layer is clicked. To do that you will need to apply the ls-close-popup class on that layer.
Additional information can be found in the documentation: https://support.kreaturamedia.com/docs/layersliderwp/documentation.html#publishing-popups
I tried to apply the ls-close-popup class (see screenshot: https://prnt.sc/frz9xe) , but it doesn't seem to be working. What did I do wrong?
As I can see from the screenshot you have added "ls-close-popup" class to the layer but it needs to be "ls-close-popup-button" instead.
I made the change you suggested (https://prnt.sc/fsyfah), but I don't see a difference at https://recent.reviews/namecheap-reviews/. What could the problem be?
Since your layer is linked you will need to apply the class on the link itself and not on the layer.
To achieve that you will have to create a new attribute in the custom attributes section. After that you will have to set its attribute name to "class", set the attribute value to "ls-close-popup" and enable the ON PARENT switch.