close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Default font

Thread began 10/31/2010 12:00 pm by nickj | Last modified 11/02/2010 12:45 pm by nickj | 1222 views | 11 replies |

nickj

Default font

Currently the editor's default is a serif font, I would like it to be Myriad Pro or at least a sans serif font. I hope is that my client will leave the font choice alone and allow the site fonts to prevail. Also the content in the editor will be closer to the appearance of the finial page results.


I tried: body fckeditorarea.css:
td
{
font-family: 'Myriad Pro', 'Lucinda Grande',"Trebuchet MS", Arial, Verdana, sans-serif;
font-size: 12px;
}

AND I tried in fckconfig.js:
FCKConfig.FontNames = 'Myriad Pro; Lucinda Grande,Arial;Comic Sans MS;Courier New;Tahoma;Times New Roman;Verdana' ;

These changes had no effect other than to add the fonts to the drop down list.

Thanks

Nick
Whispercom

Posts: 1
Joined: Sun Oct 31, 2010 10:47 am
Top

Sign in to reply to this post

Jason ByrnesWebAssist

create a new css file with the following rule:

.bodyClass {
font-family: 'Myriad Pro', 'Lucinda Grande','Trebuchet MS', Arial, Verdana, sans-serif;
font-size: 12px;
}


then edit the HTML Editor instance.

On the Styles tab, select the new css file you have created. In the body class select list, select the new bodyClass style.

Sign in to reply to this post

nickj

Not much luck here. I went to the Styles in HTML editor behavior and click on the help link, to learn how to use the feature. No Help file found! I was also unable to find any documentation for this feature. I got the editor to recognize one style and it turned the default text gray and very small.

here is the link:tblmain_content_Insert.php

Attached is the style sheet, we would like to add all the styles.

Thanks

Nick

Attached Files
denise.css.zip
Sign in to reply to this post

nickj

There are three xml files as well. How do I remove them and start clean? On the site I found a link to the online manual. index.htm it didn't explain which the style should look like or how to remove them if they are wrong.

Nick

Attached Files
tblmain_content_Insert_sTextStyles1.xml.zip
Sign in to reply to this post

Jason ByrnesWebAssist

when i look in fire bug, the .subnav_copy class is being applied to the editor body:


.subnav_copy {
font-size: 14px;
color: #6A737B;
line-height: 18px;
}

this is what is turning the color grey.


in the body class:
.bodyClass {
font-family: 'Myriad Pro', 'Lucinda Grande','Trebuchet MS', Arial, Verdana, sans-serif;
font-size: 12px;
}

the font size is being set to 12px, increase this if you want the font bigger.


to add the other styles into the styles list, you need to select them in the available styles list.

only the styles that you select from the available styles list will be added to the styles list.


if you wish to start form scratch, delete the html editor folder.

Sign in to reply to this post

nickj

Thanks, if I just want to start the custom style over how do I edit the editor?

Thanks

Nick

Sign in to reply to this post

nickj

Not quite sure why the subnav_copy is getting applied to the body, I was trying to have it a separate style which would be available in the drop down list.


Nick

Sign in to reply to this post

Jason ByrnesWebAssist

in design view, click the HTML Editor area on the page, then click the edit button in the property inspector.

Sign in to reply to this post

nickj

Yes but

1. when I go to the style section of custom, there is no way to remove styles.
2. No help file
3.If I use multiple select form the displayed styles do I not need to the body class field?

Sign in to reply to this post

Jason ByrnesWebAssist

1) click the style once to select it, click it again to deselect it.
2) Help -> WebAssist -> HTML Editor or find it online at the following URL:
index.htm

3) The body class is a default class applied to the html weditor body.

Sign in to reply to this post
loading

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...