Post Font Styling Issues

Community Forums Forums General Discussion Post Font Styling Issues

This topic is: resolved

This topic contains 4 replies, has 2 voices, and was last updated by  e-Partner 11 months, 3 weeks ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #35444

    e-Partner
    Participant
    Post count: 20

    Running Magazine on a new build at http://www.CommercialWebPage.net. You can see in the Featured Post that the font is Georgia or some spin off of Georgia. I would like all of the CSS text to all be Trebuchet MS and have been successful with all of the <h> tags.

    There is a Google font import in the CSS: *@import url(http://fonts.googleapis.com/css?family=play);

    Is this the issue?

    #35517

    Vajrasar Goswami
    Participant
    Post count: 156

    I think adding this in the stylesheet may work

    p {
    font-family: Trebuchet MS !important;
    }


    Twitter – Vajrasar

    #35545

    e-Partner
    Participant
    Post count: 20

    Where would you suggest I stick that snippet? I havc replaced all of the font attributes throughout the CSS. Thanks for your input.

    #35547

    Vajrasar Goswami
    Participant
    Post count: 156

    put it anywhere (maybe in the last) of style.css [appereance -> editor -> style.css]

    the “!important” attribute will make sure that it override any of the previous such property.


    Twitter – Vajrasar

    #38060

    e-Partner
    Participant
    Post count: 20

    Yes, that worked. But the real culprit is the Google font, as follows:

    *@import url(http://fonts.googleapis.com/css?family=play); this renders out at ‘play’ throughout the style sheet.

    Therefore, I did a global replace of the term ”‘play’” with “Trebuchet MS” throughout the style sheet. Many thanks!

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.