How to set CSS to format tabs in WYSIWYG edito?

8 posts by 2 authors in: Forums > CMS Builder
Last Post: May 14, 2009   (RSS)

By webmac - May 10, 2009

I want to use straight css, so when my client chooses an P, H!, H2, etc. in the wysiwyg editor it will automatically format what I have set in my css file, so they won't have to choose size, color, etc. Thanks, Marsha.

Re: [webmac] How to set CSS to format tabs in WYSIWYG edito?

By ross - May 11, 2009

Hi Marsha

Thanks for posting!

I think what you'll be looking for here is covered in this forum post:


http://www.interactivetools.com/forum/gforum.cgi?post=58380#58380


Keep me up to date with how you are making out :).
-----------------------------------------------------------
Cheers,
Ross Fairbairn - Consulting
consulting@interactivetools.com

Hire me! Save time by getting our experts to help with your project.
Template changes, advanced features, full integration, whatever you
need. Whether you need one hour or fifty, get it done fast with
Priority Consulting: http://www.interactivetools.com/consulting/

Re: [ross] How to set CSS to format tabs in WYSIWYG edito?

By webmac - May 11, 2009

Thanks Ross - Do you know when this will be a built-in feature?

Masha

Re: [ross] How to set CSS to format tabs in WYSIWYG edito?

By webmac - May 11, 2009

I have my css showing up OK in the editor. I have cleared any pre-formatting and applied the new css from the dropdown. After I save my page, it does not update the actual webpage. Also, I am getting the letter "c" showing up at random in the cmsAdmin editor text areas. Any clues?

Marsha

Re: [webmac] How to set CSS to format tabs in WYSIWYG edito?

By webmac - May 11, 2009

Ok. Found the problem. I added the css in the editor dropdowns to the site web page <head>:
<style type="text/css">
<!--
.style {
font-family: Verdana;
}
-->
</style>
and all is viewing OK.

For SEO puposes, how can I have the css show up in the cms editor and get it to allow the css edits with a "linked" css file:
<link href="mystyle.css" rel="stylesheet" type="text/css" />

Please advise...Thank you.
Marsha

Re: [webmac] How to set CSS to format tabs in WYSIWYG edito?

By ross - May 13, 2009

Hi Marsha

Glad to hear you go that going!

I don't quite understand what you mean with your last question though. It sounds to me like you want to edit the CSS file right through CMS Builder. That would likely be tricky as the file extensions would be a problem. Stylesheets need .css and CMS Builder needs .php

Let me know if I am on the right track and we can further explore the options.

Thanks!
-----------------------------------------------------------
Cheers,
Ross Fairbairn - Consulting
consulting@interactivetools.com

Hire me! Save time by getting our experts to help with your project.
Template changes, advanced features, full integration, whatever you
need. Whether you need one hour or fifty, get it done fast with
Priority Consulting: http://www.interactivetools.com/consulting/

Re: [webmac] How to set CSS to format tabs in WYSIWYG edito?

By ross - May 14, 2009

Hi Marsha

Can you try adding your CSS to this file:

/css/wysiwyg.css

That's what the WYSIWYG editor loads. Along those lines, you'll want to link your display pages to the same file so they can use the same styles.

Give that a shot and let me know how you make out :).
-----------------------------------------------------------
Cheers,
Ross Fairbairn - Consulting
consulting@interactivetools.com

Hire me! Save time by getting our experts to help with your project.
Template changes, advanced features, full integration, whatever you
need. Whether you need one hour or fifty, get it done fast with
Priority Consulting: http://www.interactivetools.com/consulting/