Adding CSS styles to Able's Rich Text Editor style dropdown

Store UI, layout, design, look and feel; Discussion on the customer facing pages of your online store. Cascading Style Sheets, Themes, Scriptlets, NVelocity and the components in the ConLib directory.
Post Reply
bigtires001
Lieutenant (LT)
Lieutenant (LT)
Posts: 55
Joined: Thu Aug 28, 2008 3:40 pm

Adding CSS styles to Able's Rich Text Editor style dropdown

Post by bigtires001 » Sat Oct 25, 2008 4:39 pm

Hello, Just getting started with Able Commerce 7.0. When creating a new website page, category or product there is a text box for adding a description or the content.

When you select the notepad link it takes you to the rich text editor, also called WYSIWYG. instead of the basic text box.

IN the editor, on the toolbar in the lower left corner there is a tab called style. There are a few basic styles there & 2 of them are shared throughout the system.

NOW FOR THE QUESTION---

How can I add to this list or attach my own styles? Can I change the style sheet or add to this list?
Either will work for my problem.

Any Help would be greatly appreciated... :)

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: Adding CSS styles to Able's Rich Text Editor style dropdown

Post by jmestep » Sat Oct 25, 2008 5:34 pm

I work on my style sheet changes directly in the style.css that is in the folder of the App_Theme that you selected. .net reads style sheets in the folder in alphabetical order, so I've started changing my name to a_style.css. There are some styles in the ComponentArt.css in the folder that might override yours if you use any of their controls like the menu, category tree, etc.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

bigtires001
Lieutenant (LT)
Lieutenant (LT)
Posts: 55
Joined: Thu Aug 28, 2008 3:40 pm

Re: Adding CSS styles to Able's Rich Text Editor style dropdown

Post by bigtires001 » Tue Nov 04, 2008 6:54 pm

Well not exactly. I know about that style sheet but its not the one attached to the editor.

Here's an example:

Open the rich text editor for Able Commerce, then type a bit and select it. You will see a button called styles on the editor. If you open this dropdown box there’s a few styles listed there already. How do I edit that list? Or attach the editor to a different style sheet.

Thanks.

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Adding CSS styles to Able's Rich Text Editor style dropdown

Post by mazhar » Wed Nov 05, 2008 9:12 am

You can add custom styles in following file
Website\FCKeditor\fckstyles.xml


bigtires001
Lieutenant (LT)
Lieutenant (LT)
Posts: 55
Joined: Thu Aug 28, 2008 3:40 pm

Re: Adding CSS styles to Able's Rich Text Editor style dropdown

Post by bigtires001 » Sat Nov 08, 2008 5:47 am

Thanks these were both a great help!

Post Reply