CSS Classes

Last post 02-08-2012, 6:50 AM by Kenneth. 3 replies.
Sort Posts: Previous Next
  •  01-31-2012, 11:23 AM 72886

    CSS Classes

    Hi,
     
    Is it possible to add the following style to example.css, and apply it within the editor to text.
     
    h1.Header {
     font-weight:bold;
    }
     
    From what I can see I can only add css styles that appear as span tags within the HTML.
     
    thanks.
  •  01-31-2012, 3:18 PM 72890 in reply to 72886

    Re: CSS Classes

    Hi MichaelW,
     
     we are investigating this issue and will get back to him soon
     
    Regards,
     
    Ken 
  •  02-07-2012, 8:26 AM 72942 in reply to 72890

    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.
  •  02-08-2012, 6:50 AM 72952 in reply to 72942

    Re: CSS Classes

    Hi MichaelW,
     
    We will fix this issue in next version. Sorry for your inconvenience.
     
    Regards,
     
    Ken 
View as RSS news feed in XML