• Resolved mansteinspain

    (@mansteinspain)


    Hi.

    I am trying to set up a different font size for mobile. I am using Generatepress as theme.

    I put this code:

    /*font-size mobile*/
        @media (max-width: 768px) {
        body {
            font-size: 16px;
        }
    }

    For small devices font using either aditional CSS or the plugin Simple Css (from same author as Generatepress).

    The problem is that with my autoptimize setting it does not work. If I unclick “Aggregate all linked CSS-files? If this option is off, the individual CSS-files will remain in place but will be minified.” then it will work on mobile. however the number of requests grow.

    Is there a possibility of excluding the plugin simple CSS or somehow the code from the “exclude css from autoptimize”? Or any other solution?

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Simple CSS plugin and autoptimize’ is closed to new replies.