Custom CSS
Learn how to add custom CSS code that will only be applied inside Canvas
We can add custom CSS to apps by performing a check to the user-agent.
If the "canvas" string is included in the user-agent, it means that the content is being displayed inside the app.
Below you can find a code snippet that will save the user agent and then check if the "canvas" string is present, if so it will add custom CSS to the HTML head.
If you are using PHP you can use the following piece of code: