font and mobile version problem after minify css

Posted in: Newspaper
Post count: 3

Hi all..

I’ve problem with fonts after minify css and js files.

For pagespeed I did some changes. Using child theme.

1. deleted import code from child theme style.css and moved main style.css content to child theme style.css.
2. moved font codes from header. and imported fonts child theme style.css file.
3. don’t use child.css file.
4. Moved jquery and other js files from header to footer.

Using w3 total cache, and when I activate css minify web site fonts not showing correctly. And after a few minutes only home page turning mobile version.

Selecting post content font “Open Sans” from theme panel, but it doesn’t work.

But if I change font family css code from Chrome Developer Tools, like font-family: “Open Sans, sans-serif”;, it shows fonts correctly.

I removed font codes header, but not changed.

What the reason can be?

Post count: 9544

You should manually minify your CSS and not do it via the cache plugin; and don’t minify js with plugin, that also needs to be done manually. My long optimization thread in the docs > diy tutorials > best of forums has some examples on that. I also recommend NOT using child theme for best results overall on speed.

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.