You are not logged in.
Pages: 1
I'd like to attach my site's style sheet to Xinha so that what we see in the editor will match what we'll see on the site. Is there somewhere I can add it in?
Thanks
Offline
In your config file, add something like :
xinha_config.pageStyle = "@import url(/css/main.css);";
And make sure to use the correct path to your file
Offline
Thanks for the reply. I'm running this in Open Realty. Do you mean OR's config file? I don't see one for Xinha.
Offline
Ah, yeah, sorry. I took for granted you had the xinha initialisation code in a seperate JS file but it might as well be an inline javascript declaration.
Just search for the piece of Javascript code that reads like Xinha.makeEditors and Xinha.startEditors, your config lines should be just before that somewhere.
Hope this makes sense, I've never used Open Realty so I don't really know how Xinha is hooked to it...
Offline
Pages: 1