Google Fonts inside CSS file https link -
i using google web fonts inside css stylesheet below
@font-face { font-family: 'open sans'; font-style: normal; font-weight: 400; src: local('open sans'), local('opensans'), url(http://themes.googleusercontent.com/static/fonts/opensans/v6/cjzkeoubrn4kerxqtauh3t8e0i7kzn-epnyo3hzu7kw.woff) format('woff');}
but when website goes secured page, getting "only secured content being displayed". used google chrome resource inspector , pointed above issue
how can add secured link google web font in css file
thanks
you don't need @font-face use google font.
just add in html code:
<link href='http://fonts.googleapis.com/css?family=open+sans' rel='stylesheet' type='text/css'>
then add font name in css. example:
body{font-family: 'open sans', sans-serif;}
Comments
Post a Comment