Recommended way to resize/fix italic font?

Support Forums for LiveMesh Themes & Plugins Forums Invent Theme Support Recommended way to resize/fix italic font?

Tagged: ,

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #27332
    daveyola
    Participant

    so for some strange reason, the font style “italic” – which uses the standard “em” tag – is much smaller than the normal font when changing the default font size.

    it seems that there are two ways to remedy this, and i’m hoping the author or others can suggest the right way to do it.

    one way is this – which does not seem to be working:

    paragraph {
    font-style: italic;
    font-weight: normal;
    font-size: 18px;
    }

    and the other way, specifying the em tag, DOES work but seems kind of limiting if/when i want to change a font:

    em {font: italic 18px/24px ‘Source Sans Pro’, Source Sans Pro, Times, sans-serif;}

    any idea why my first attempt does not work? it SHOULD be for body, paragraph, ALL size H tags, etc – not sure how to write it. any advice appreciated.

    #27342
    Veena
    Moderator

    If you need to apply it for paragraphs then pls use custom CSS like this –

    p {
    font-style: italic;
    font-weight: normal;
    font-size: 18px;
    }
    

    And for body –

    body {
        font-style: italic;
        font-weight: normal;
        font-size: 18px;
        font-family: Georgia, Times, serif;
    }
    
    #27346
    daveyola
    Participant

    well, that seems to make ALL text italic when i use it – main font set for site is “Source Sans Pro” which is a sans-serif – not sure how to specify that font, and also specify just those works that are italic

    #27356
    Veena
    Moderator

    You can use the below custom CSS –

      body {
          font-family: 'Source Sans Pro', 'sans-serif', 'serif';
        }
    
Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘Invent Theme Support’ is closed to new topics and replies.