Support » Plugin: Photo Gallery by 10Web - Mobile-Friendly Image Gallery » Use of “font-display” -> Google PageSpeed Insight

  • Resolved seek51

    (@seek51)


    Dear photo gallery team,

    I have a problem with google PageSpeedInsight.
    I didn’t get 100% because you didn’t use the “font-display” property for your font.
    Please add it to your css source.

    Best regards,
    Friedrich Ramser
    Ramser Elektrotechnik
    http://www.ramser-elektro.at

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Photo Gallery Support

    (@photogallerysupport)

    Hi,

    Could you please send the URL address of the page where the gallery is published?

    Thank you! Have a great day!

    The side address is:
    https://www.ramser-elektro.at/der-hydrothyr/referenzprojekte/

    But you only have to change
    @font-face {
    font-family: ‘FontAwesome’;
    src: url(‘fonts/fontawesome-webfont.eot?v=4.6.3’);
    src: url(‘fonts/fontawesome-webfont.eot?#iefix&v=4.6.3′) format(’embedded-opentype’), url(‘fonts/fontawesome-webfont.woff2?v=4.6.3’) format(‘woff2’), url(‘fonts/fontawesome-webfont.woff?v=4.6.3’) format(‘woff’), url(‘fonts/fontawesome-webfont.ttf?v=4.6.3’) format(‘truetype’), url(‘fonts/fontawesome-webfont.svg?v=4.6.3#fontawesomeregular’) format(‘svg’);
    font-weight: normal;
    font-style: normal;
    }

    to:
    @font-face {
    font-family: ‘FontAwesome’;
    src: url(‘fonts/fontawesome-webfont.eot?v=4.6.3’);
    src: url(‘fonts/fontawesome-webfont.eot?#iefix&v=4.6.3′) format(’embedded-opentype’), url(‘fonts/fontawesome-webfont.woff2?v=4.6.3’) format(‘woff2’), url(‘fonts/fontawesome-webfont.woff?v=4.6.3’) format(‘woff’), url(‘fonts/fontawesome-webfont.ttf?v=4.6.3’) format(‘truetype’), url(‘fonts/fontawesome-webfont.svg?v=4.6.3#fontawesomeregular’) format(‘svg’);
    font-weight: normal;
    font-style: normal;
    font-display: fallback;
    }

    in the file font-awesome.css

    At my side, this has be done.
    But after the next update the change would be overwritten.
    So please add it to your CSS.

    Best regards,
    Friedrich Ramser

    Plugin Contributor Photo Gallery Support

    (@photogallerysupport)

    Dear Friedrich,

    We appreciate your help.

    Thank you very much. We will include it in our upcoming version.

    Have a wonderful day!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Use of “font-display” -> Google PageSpeed Insight’ is closed to new replies.