If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
hello, why if I see the source of my home page I see a lot of css code? at the start there’s wrote <! – custom styles in September at your backend ->
but I did not put any custom style ..
anyway why all this css is not imported from an external file?
Probably the main reason is the performance (server side) – the css styles are generated dynamically based on your theme options/settings and an external stylesheet does not support dynamic code. Thus Kriesi would need to use a php script to generate the styles and he’d need to load the wordpress framework, etc. in the stylesheet script again because of the theme settings data, etc.
You can delete/comment out following line from eunoiaframeworkphpclass-style-generator.php:
This will remove the css code from the head section. If you want to keep the current style code copy/paste the css code from the html file into a stylesheet (eg css/custom.css) first. However note that you’ll also break some theme options (Theme Options > Styling) and you won’t be able to change the colors, etc. by using the theme options panel.
I don’t understand the question but I’ll try to expand a bit more on what Dude was saying.
You can add the css that is generated into your custom.css file so that it isn’t loaded in dynamically. Then remove the line in the theme that creates the code.
The end result is a bit faster of page loading but you can’t alter the color options and such through the theme settings because they aren’t being generated anymore.
The topic ‘strange Css code into home page html’ is closed to new replies.