Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • brenot Friend
    #193940

    Hi,

    i´m finishing a website based at miltius, and i need to change the font off the submenu to a google font ( PT SANS )

    how can i do it?

    thanks

    http://192.185.164.89/~bravet/

    TomC Moderator
    #519280

    If you haven’t already, create a “custom.css” file – within your templates/css – file structure, and add the following CSS rule with the “font-family” property you want.


    .dropdown-menu a {
    color: #47BCCF
    font-weight: normal;
    padding: 3px 20px;
    text-shadow: none;
    }

    If you need assistance with how to work with Google Fonts in Joomla, here is a video I found that may be of assistance —> http://www.youtube.com/watch?v=ae2cb_Uab_o

    brenot Friend
    #519282

    thanks,

    can you gave me the full code to use this font?

    http://www.google.com/fonts/specimen/PT+Sans

    thanks

    TomC Moderator
    #519283

    If you need assistance with how to work with Google Fonts in Joomla, here is a video I found that may be of assistance —> http://www.youtube.com/watch?v=ae2cb_Uab_o

    brenot Friend
    #519288

    sorry, but the link for the video does not working

    TomC Moderator
    #519405

    To add Google Fonts, you need only add the following within the <head></head> of your index.php file . . .

    <link href=’http://fonts.googleapis.com/css?family=fontName’ rel=’stylesheet’ type=’text/css’>

    and then add your CSS style to your stylesheet

    .className {
    font-family: fontName;
    }

    Here are several additional resources that may be helpful to you . . .

    http://forum.joomla.org/viewtopic.php?f=569&t=795561

    http://www.hyde-design.co.uk/how-to-add-new-google-fonts

    http://www.youtube.com/watch?v=igATzAJlQWw

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

This topic contains 6 replies, has 2 voices, and was last updated by  TomC 10 years, 9 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum