- This topic has 15 replies, 4 voices, and was last updated 6 months, 3 weeks ago by Tom.
August 4, 2020 at 3:08 pm #1387518Alexander
Downloaded the latest version “rc.1” Locally I am using Laragon on Windows + Clean WordPress installation.
When I am using Generatepress theme with “rc.1” I have the option to chose generate a external css file instead of using inline. However when I chose external there is no change on the page and Generatepress is still using inline css for settings.August 4, 2020 at 3:26 pm #1387533Alexander
Update: The CSS file is generated and loaded, however there is still inline CSS added.
If I choose use inline css the html size is smaller than using external which seems wrong.August 4, 2020 at 5:53 pm #1387611TomLead DeveloperLead DeveloperAugust 5, 2020 at 5:33 am #1388067Alexander
Hello Tom, I am using the latest version from the official WordPress.org “market” V 2.4.2
Currently i dont have Website in development using GeneratePress, the once I have are in production. And does not have a staging site either.
Here is link to Laragon https://laragon.org/download/ If you would like to replicate it locally.August 5, 2020 at 8:56 am #1388449TomLead DeveloperLead Developer
If the plugin isn’t able to create the stylesheet, it will fall back to displaying inline CSS. It sounds like there might be permission issues on your server preventing the file from being created.
Is the style.min.css file being enqueued if you view the source? If should be in
wp-content/generatepress/style.min.cssAugust 5, 2020 at 12:21 pm #1388655Alexander
Yes its created and i can even see it if i view source.
I can also locate the file inside the WordPress dir based on what i can see in the source code.
However inline CSS is still added to the head section of the html doc.
I am not using any caching or something like that.
Earlier today i did a complete reinstallation and tested both with Laragon and XAMPP.
Still the same problem that inline css is added no matter what.August 5, 2020 at 1:09 pm #1388692TomLead DeveloperLead Developer
Hmm, this isn’t something I’m able to replicate. I don’t have Laragon (using Local at the moment), however it shouldn’t matter.
What kind of server setup do you have? Apache? Nginx?
Can you show me a screenshot of your source with the HTTP request for the file and the inline CSS?August 5, 2020 at 5:53 pm #1388859Alexander
I tested again this time using LiteSpeed by creating a staging site based off a real website.
I still have
<link rel="stylesheet" id="generatepress-dynamic-css" href="//dev.*.*/wp-content/uploads/generatepress/style.min.css?ver=cdd2c68c49abb05fd7d0c5cf82c3c8ed" type="text/css" media="all">
<style id="generate-style-inline-css" type="text/css">
The dynamic css file is being generated and added to header, but the inline css is still there as well…
Its not a error due to permission i can delet the dynamic css file and regenerate it. And it contains css just like the inline css.August 5, 2020 at 8:03 pm #1388923TomLead DeveloperLead DeveloperAugust 7, 2020 at 8:44 am #1391687Addison
Hey, Tom. I’m having the exact same issue. Also on Windows Laragon. Here are a couple of screenshots that may help.
External CSS (matches the inline CSS):
Let me know how I can help.
AddisonAugust 7, 2020 at 8:54 am #1391698TomLead DeveloperLead DeveloperAugust 7, 2020 at 12:26 pm #1392005Addison
Thanks so much, Tom. I just installed the update and all seems well.August 7, 2020 at 12:34 pm #1392018TomLead DeveloperLead DeveloperAugust 7, 2020 at 12:59 pm #1392057FunkyCss
Hallo Guys , i see you have installed the latestet update and you have this figured out, but as i see for my sites is not working . I see the css file beeing generated but i see more inline css this time , i have opened the same topic as well.August 7, 2020 at 1:25 pm #1392078Addison
I’d first check to see if any of your inline styles match the external css being generated. I’m still seeing a bit of inline CSS on my site, but it’s no longer duplicated in the external styles.
- You must be logged in to reply to this topic.