Hi Nick,
Are you adding this snippet as a Content snippet or a Functions snippet?
Remember that Functions snippets must be in PHP code, not HTML.
Good Morning Shea!
yep, we are adding the snippet as a PHP code.
Strange thing …
We got the same problem with the following piece of code and we finally have to insert it now in the theme customizer section.
/* open-sans-regular – latin */
@font-face {
font-family: ‘My Custom Font’;
font-style: normal;
font-weight: 400;
src: url(‘https://www.hello-world.net/wp-content/uploads/open-sans-v34-latin-regular.eot’); /* IE9 Compat Modes */
src: local(”),
url(‘https://www.hello-world.net/wp-content/uploads/open-sans-v34-latin-regular.eot?#iefix’) format(’embedded-opentype’), /* IE6-IE8 */
url(‘https://www.hello-world.net/wp-content/uploads/open-sans-v34-latin-regular.woff2’) format(‘woff2’), /* Super Modern Browsers */
url(‘https://www.hello-world.net/wp-content/uploads/open-sans-v34-latin-regular.woff’) format(‘woff’), /* Modern Browsers */
url(‘https://www.hello-world.net/wp-content/uploads/open-sans-v34-latin-regular.ttf’) format(‘truetype’), /* Safari, Android, iOS */
url(‘https://www.hello-world.net/wp-content/uploads/open-sans-v34-latin-regular.svg#OpenSans’) format(‘svg’); /* Legacy iOS */
}
Hi Nick,
Can you please provide a screenshot of the edit snippet page for this snippet?