I have installed "CookieYes" as a cookie solution on my site. I would like to go without a "Revisit Consent button" that always scrolls along the page. I would rather put a text link in the footer that allows you to view the cookie settings. CookieYes offers the following snippet for this:
–––
"For example, to add a button with the text “Change Cookie Preferences”, the code would look like this.
Dear Salient team,
I have installed "CookieYes" as a cookie solution on my site. I would like to go without a "Revisit Consent button" that always scrolls along the page. I would rather put a text link in the footer that allows you to view the cookie settings. CookieYes offers the following snippet for this:
–––
"For example, to add a button with the text “Change Cookie Preferences”, the code would look like this.
<button class="cky-banner-element">Change Cookie Preferences</button>
Or if you prefer a link over a button, you can do so as follows:
<a href="#" class="cky-banner-element">Change Cookie Preferences</a>"
–––
How can I create a text link or button in Salient that opens this cookie layer?
Thank you very much for your help!
Best regards
Sascha
Hey Again,
Try adding the "cky-banner-element" class to any Nectar Button in the Page Builder and it should work .
See screenshot:
Best,
ThemeNectar Support Team
It works great, thank you!
Hello Sascha,
I'm happy that we could assist you! If you haven't already, please consider sharing your experience by leaving a review on ThemeForest.
If you've enjoyed Salient, be sure to check out Nectarblocks, our latest innovation for building websites visually with WordPress.
Your feedback is valuable to us and greatly appreciated!
Should you have any further questions or encounter any difficulties along the way, please don't hesitate to reach out.
Best regards,
Hi Sascha,
Thank you for getting back to us.
I'm glad we could assist. Feel free to reach out if you have any other queries.
Best regards,