• Resolved robert2s

    (@robert2s)


    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.

    • This topic was modified 5 years, 1 month ago by robert2s.
    • This topic was modified 5 years, 1 month ago by robert2s.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘@font-face with incorrect absolute URL:(“https://wp-content/themes/…”’ is closed to new replies.