Start a new topic

Can't add CSS to text

Can't add CSS to text

Hi Wikitude support, i'm trying to add CSS to an HTML widget, basically this code:


<link rel="stylesheet" type="text/css" href="">
body {
font-family: 'Tangerine', serif;
font-size: 48px;
<div>Making the Web Beautiful!</div>

What I get is the text but with no CSS format. What is going wrong here? The code works on the browser.




Hi Nicolas,

Unfortunately, you cannot define <head> in Studio, you can only define the <body> of your HTML content. If you want to use Studio, you need to stick to body elements.

To use <head> as well, you would have to use HTMLDrawables in the Wikitude SDK, without the Wikitude Studio support. The SDK also supports the <head> tag.


Login or Signup to post a comment