custom fonts stopped working

ashishpandeyashishpandey Registered Users Posts: 100 Big grins
edited August 29, 2016 in Bug Reporting
I have been using fontawesome via css @font-face or quite some time on my smugmug page to render a nice menu. This is the same as described here. However, i recently noticed it had stopped working. The reason seems like smugmug is stripping off the src tags from the @font-face CSS block

My site is here:

the CSS block I am adding looks like this:
@font-face {
  font-family: 'FontAwesomeCdn';
  src: url('');
  src: url('') format('embedded-opentype'),
   url('') format('woff2'), 
   url('') format('woff'), 
   url('') format('truetype'), 
   url('') format('svg');
  font-weight: 400;
  font-style: normal;

What I get after publishing the site is this:

clearly, the src attribute is missing and hence the font doesn't work
This worked fine until very recently, so no idea what is wrong now. Can someone please help?
smugmug ID: ashishpandey (but I prefer my domain URL above :D)


Sign In or Register to comment.