How to write Custom css for inserted html

Hi, I’m trying adding custom style’s for inserted webpushR html element’s with javascript on document load event but it’s not work.
I try to find any event run after all webpushR function’s completed to add the custom style’s to html but not found any body can help me how to solve It?

Hi,

You can simply add the custom style into your style.css file or inside attribute in your HTML page.

font-family
I did it, I want to change the font-family but your style’s declared it !important what should I do?

Hi,

You should use the strong class reference like below
div#_prompt_overlay webpushrpromptconatiner *{font-family: sans-serif !important}

1 Like

thank’s that is work perfectly. :pray: