To style your cookie bar open your jquery.cookiebar.js and set the ForceShow option to ‘True’. Until you’re happy with your styling then remember to switch it back to ‘False’.
This cookie example is currently set to ForceShow ‘True’ so that you can always see it regardless.
This cookie has the name of ‘cb-enabled’ when you search for it in your browser's list of cookies currently stored.
If a user chooses to disable cookies (If you give them that option), you need to make sure that scripts such as Google Analytics need to be disabled.
This can be done by wrapping the code in a simple if statement.
//Google Analytics or other code here
Please share if you find the content useful - thank you
Have a comment or something to say?