Dismiss Notice

Register now to be one of the first members of this SharePoint Community! Click here it just takes seconds!

Dismiss Notice
Welcome Guest from Country Flag

Referencing a font style using Javascript in IE

Discussion in 'SharePoint Blogs' started by /u/stranglingisfun, Jul 13, 2018.

Thread Status:
Not open for further replies.
  1. /u/stranglingisfun

    /u/stranglingisfun Guest

    Blog Posts:
    0
    We have a homepage in sharepoint which uses the font style 'Lato'. It works when it is opened in google chrome but it doesn't work when opened in IE. Can the font file be uploaded in the 'site assets' and just be referenced in there? If yes, how? If not, any other options?

    Code:

    <link href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet"></link> html,body{ font-family: lato, sans-serif; color: white; width: 100%; height: 100%; margin: 0px; padding: 0px; overflow-x: hidden; }
    submitted by /u/stranglingisfun
    [link] [comments]

    Continue reading...
     
Thread Status:
Not open for further replies.

Share This Page

LiveZilla Live Chat Software