I would like to know how to hide the "custom styles set at your backend" information in the source code for the Coalition theme. Anyone have a fix?
Hide "custom styles set at your backend" information in source code
4 posts from 2 voices-
Posted 1 year ago #
-
Hey!
Hey,
open up oalition\framework\php\class-style-generator.php and remove following line:
echo "\n<!-- custom styles set at your backend-->\n";Best regards,
PeterPosted 1 year ago # -
Dude, thanks for the quick reply, however I am wanting ALL of the style information to not show in the source code. I removed the following code, which effectively removes the info in the source code, but it also removes the styles to actual site content.
echo "\n<!-- custom styles set at your backend-->\n";
echo "<style type='text/css'>\n";
echo $this->output;
echo "</style>\n";
echo "\n<!-- end custom styles-->\n\n";
echo $this->extra_output;Posted 1 year ago # -
Hi!
Yes because the css code is required for the content styling. If you remove the entire code you need to add the css code to one of the stylesheets first.
Best regards,
PeterPosted 1 year ago #
Reply
You must log in to post.














