Site logo

Archived topic

Google apis

2 replies · Started by jmpefe78gmail-com on October 20, 2017

Viewing posts 1–3 of 3

Hola Tom,al hacer un test de velocidad, me pide que ponga los CSS delante del Script pero no sé exactamente donde localizarlo dentro del editor de WordPress.

El "error que genera es el siguiente:

Optimize the order of styles and scripts

Inline script block #4
The following external CSS files were included after an external JavaScript file in https://.... To ensure CSS files are downloaded in parallel, always include external CSS before external JavaScript.

https://fonts.googleapis.com/css?family=Bitter:100,100italic,200,200italic,300,300italic,400,400italic,500,500italic,600,600italic,700,700italic,800,800italic,900,900italic|Raleway:100,100italic,200,200italic,300,300italic,400,400italic,500,500italic,600,600italic,700,700italic,800,800italic,900,900italic|Calligraffitti:100,100italic,200,200italic,300,300italic,400,400italic,500,500italic,600,600italic,700,700italic,800,800italic,900,900italic

Gracias

¿La plantilla carga los CSS después que los sripts?

Those are your Google fonts, which are loaded based on your settings in Customize > Typography.

They need to appear in the header, or else your website will show a different font until the rest of the page loads, at which time it will change to the Google font. The flash of different text doesn't look very good.

This archived topic is closed to new replies.