Totally Zenned
- Join Date:
- Aug 2007
- Location:
- Gijón, Asturias, Spain
- Posts:
- 2,866
- Plugin Contributions:
- 7
HTMLarea default fonts and styles
Hi,
I could not find any reference to this in the forum so here's an answer instead of a question. Apologies if I have reinvented the wheel for some of you..
I wanted to change the default styles, font, H1, H2 etc that HTMLarea uses to match my site ones, instead of times new roman.
To do this, open
\yourshop\editors\htmlarea\htmlarea.js
and on line 98 edit this.pageStyle to point to your stylesheet. The example here is for an install on a local machine,
//this.pageStyle = "";
this.pageStyle = "@import url('http://127.0.0.1/yourshop/includes/templates/yourtemplate/css/stylesheet.css');";
regards
Steve