forked from argoproject/Argo
-
-
Notifications
You must be signed in to change notification settings - Fork 80
Open
Labels
Estimate: < 10 Hours/UnknownEstimate: < 2 Hourspriority: normalMust be completed before release of this version of plugin.Must be completed before release of this version of plugin.status: needs teststype: bug
Milestone
Description
Time tracking here: HELPDESK-389
A few sites we're hosting on WP Engine are being marked as not mobile-friendly (https://www.google.com/webmasters/tools/mobile-friendly/) . One possible cause appears to be that Google is not recognizing the generated css file created by Largo's Custom CSS option as a valid stylesheet.
In NPQ's case:
- homepage fails the test: test results
- the generated CSS is interpreted as the homepage, suggesting that the URL parameter gets stripped: test results
- the child theme's CSS file is interpreted as not-html on the CDN: test results
- the child theme's CSS file is interpreted as not-html not on the CDN: test results
So it looks like Google might not be seeing the responsive styles in the generated stylesheet because it strips URL parameters.
Proposed course of testing:
- make sure that Google stripping URL params is what's happening, with a quick-and-dirty test page written somewhere: echo url params and some test content
If the above is correct:
- test whether largo detects stylesheets at a non-
.cssURL
If it does:
- rename the URL for generated stylesheets
- preserve URL params used on the generated stylesheet
- base url (example:
/css) should return the appropriate stylesheet for Largo: minified/not, customized output
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Estimate: < 10 Hours/UnknownEstimate: < 2 Hourspriority: normalMust be completed before release of this version of plugin.Must be completed before release of this version of plugin.status: needs teststype: bug