@font-face with incorrect absolute URL:(“https://wp-content/themes/…”
-
The AMP Plugin (in paired mode) when generating the css code informs the wrong font-face URL.
The wordpress theme I developed works locally with Wamp Server, but with Debian it does not work.
My CSS font style:
@font-face {
[…]
src: local(‘Open Sans Italic’), local(‘OpenSans-Italic’),
url(‘../fonts/opensans-400i.woff2’) format(‘woff2’);
/* this does not work on the amp version in Debian 8 */
}CSS generated by AMP plugin (https://www.melhoreshospedagemdesites.com/?amp):
@font-face {
[…]
url(“https://wp-content/themes/melhoreshospedagem-new/assets/fonts/opensans-400i.woff2″) format(“woff2”)}
}This works perfectly on a local installation with Windows WampServer.
My other AMP Paired implementation works perfectly on a Debian. This looks like a BUG because of some configuration.
Please help me find a solution.
The page I need help with: [log in to see the link]
- The topic ‘@font-face with incorrect absolute URL:(“https://wp-content/themes/…”’ is closed to new replies.