Re: CSS Classes

  •  02-07-2012, 8:26 AM

    Re: CSS Classes

    Hi Ken,
     
    Any progress on this?
     
    To further explain in my overall site I have a style, in a css style sheet.

    h1.golden {
        color: #baae77;
        border-bottom: 2px solid #d6cca0;
        font-size: 22px;
        padding: 5px 0 2px 0;
        }

    How can this be applied to text in the editor. I know I could do it with HTML but I'd rather the client didn't go into the HTML.
    From what I can see if I put a class into the example.css, and then try to apply it, it uses the span tag.

    So the generated code would look like

    <h1><span class="golden">Test Header<span></h1>

    Though for consistency across the site I want the code to be

    <h1 class="golden">Test Header</h1>
     
    any ideas?
     
    thank you.
View Complete Thread