Okay
  Public Ticket #3819272
How to add a revisit consent button (CookieYes)
Open

Comments

  •  1
    saschazemke started the conversation

    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

  •  9,059
    Tahir replied

    Hey Again,

    Try adding the "cky-banner-element" class to any Nectar Button in the Page Builder and it should work .

     See screenshot: 2788126491.png

    Best,

     


    ThemeNectar Support Team 

  •  1
    saschazemke replied

    It works great, thank you!

  •  1,986
    Judith replied

    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,

  •  3,054
    Andrew replied

    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,