Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Henrik Ladefoged 30 posts 100 karma points
    Oct 03, 2013 @ 15:57
    Henrik Ladefoged
    0

    Styling RTE body

    In my attached rte.css stylesheet i wish to set a default font size of 15px but no matter what i do (disabling browser cache etc.) i can't seem to get it working. The rte still uses 10pt Verdana as default.
    Is there any other way of doing this? Styling .mceContentBody doesn't seem to have an effect

    @charset "utf-8";
    // GOOGLE FONT
    @import url(http://fonts.googleapis.com/css?family=Titillium+Web:200,300,400,700);
    
    .mceContentBody, body.mceContentBody, body, html {
      color: #000; 
      font-family: "Titillium Web", Arial, sans-serif !important;
      font-size: 15px !important;
      line-height: 1.4em !important;
    }
    
    img {
      border: 0;
      max-width: 100%;
      height: auto;
    
    }
    
    a {
        color: #000;
        text-decoration: none;
      }
      a:hover {
        text-decoration: underline;
      }
    
    
    
    
    /* EDITOR PROPERTIES - PLEASE DON'T DELETE THIS LINE TO AVOID DUPLICATE PROPERTIES */
    H1 {
      font-family: "Titillium Web", Arial, sans-serif;
      font-size: 38px;
      font-weight: 400;
      line-height: 110%;
      margin: 0px 0px 10px 0px;
      padding: 0px 0px 10px 0px;
      border-bottom: 8px solid #cfe3ec;
    }
    
    H2 {
      font-family: "Titillium Web", Arial, sans-serif;
      font-size: 16px;
      font-weight: 200;
      line-height: 140%;
      margin: 0px 0px 0px 0px;
    }
    
    H3 {
      font-family: "Titillium Web", Arial, sans-serif;
      font-size: 16px;
      font-weight: 300;
      line-height: 120%;
      margin: 0px 0px 10px 0px;
    }
    
    .Standard {
      color: #000; 
      font-family: "Titillium Web", Arial, sans-serif;
      font-size: 15px;
      line-height: 1.4em;
    
    }
    
Please Sign in or register to post replies

Write your reply to:

Draft