-
AuthorPosts
-
brenot Friend
brenot
- Join date:
- March 2011
- Posts:
- 223
- Downloads:
- 202
- Uploads:
- 49
- Thanks:
- 67
- Thanked:
- 8 times in 3 posts
January 21, 2014 at 5:32 pm #193940Hi,
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
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
January 21, 2014 at 5:39 pm #519280If 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
1 user says Thank You to TomC for this useful post
brenot Friendbrenot
- Join date:
- March 2011
- Posts:
- 223
- Downloads:
- 202
- Uploads:
- 49
- Thanks:
- 67
- Thanked:
- 8 times in 3 posts
January 21, 2014 at 5:41 pm #519282thanks,
can you gave me the full code to use this font?
http://www.google.com/fonts/specimen/PT+Sans
thanks
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
January 21, 2014 at 5:49 pm #519283If 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 Friendbrenot
- Join date:
- March 2011
- Posts:
- 223
- Downloads:
- 202
- Uploads:
- 49
- Thanks:
- 67
- Thanked:
- 8 times in 3 posts
January 21, 2014 at 6:11 pm #519288sorry, but the link for the video does not working
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
January 22, 2014 at 5:49 pm #519405To 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
-
AuthorPosts
This topic contains 6 replies, has 2 voices, and was last updated by TomC 10 years, 10 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum