Hello @Manish Singh,
We recommend that you try using the Cookie Notice plugin (XStore > Plugins Installer). Please let us know if this is helpful.
Best Regards, 8Theme’s Team