Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2010
    Posts
    900
    Plugin Contributions
    0

    Default How to get HTML editors to use site's CSS?

    Hi!

    I've been looking around, cannot seem to find an answer to this question.

    I have a ZC139c and I added tinyMCE. But I have noticed that neither tinyMCE or HTMLarea use (or display) true css tags. In other words, <h1> is different from <h1 id="ezPagesHeading">.

    Is there a way to make tinyMCE or HTMLarea call css? In other words, use the css? I'd really like it to display how it will eventually look (you get it looking one way, hit submit, then go look at the live page... dramitically different usually), but that may be too much to hope for.

    Here is another question... if I apply a color change using an editor to a heading, why can I not override the css and force it to take the assigned color?

    For instance, I go BRIGHT RED but on the actual page it looks like this: BRIGHT RED.

    Any thoughts would be appreciated!

  2. #2
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: How to get HTML editors to use site's CSS?

    This question was asked some time ago... I can't recall if it was given any satisfactory anwsers, but try a few forum searches and you may come across it.

    Inline styles (those that are applied by these little editors), will OVER-RIDE anything in the stylesheet, but if there are similarities in PARTS of the style(s) (ie: within the inline AND stylesheet) then you could be ending up with a situation where SOME of the style is being applied from the inline part, and OTHER BITS are being applied you the stylesheet(s).
    20 years a Zencart User

  3. #3
    Join Date
    Apr 2010
    Posts
    900
    Plugin Contributions
    0

    Default Re: How to get HTML editors to use site's CSS?

    Thanks, Schoolboy.

    I'll keep looking, post the answer here if I find it.

 

 

Similar Threads

  1. HTML Editors Displaying HTML On Site
    By DVDTitan in forum General Questions
    Replies: 1
    Last Post: 3 Oct 2010, 11:40 AM
  2. HTML editors
    By J_star in forum General Questions
    Replies: 1
    Last Post: 20 Aug 2009, 11:05 AM
  3. HTML/Site created in webplus, how to get into ZenCart?
    By customk1 in forum Templates, Stylesheets, Page Layout
    Replies: 11
    Last Post: 27 Mar 2009, 05:57 PM
  4. I can't get the HTML editors to work in the admin
    By warren in forum General Questions
    Replies: 4
    Last Post: 11 Jun 2008, 08:54 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg