Hi there,
trying to remove an CSS error in my WP website which came up in a CSS checker and is as follows:
#pg-2-3 { margin-bottom:px } #pgc-2-1-0
However, I’m having trouble locating it. Have looked through lots of CSS files in cpanel and I’m at a loss as to where it is. It seems to be in this one: siteorigin-panels-layouts-head but i can’t find it.
Anyone have an idea?
Just trying to get clean code.
Thanks.
Siteorigin – incorrect CSS – trying to locate the file
This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.
Hi Matt
Thanks for reaching out.
In order to not disrupt existing layouts, we, unfortunately, can’t prevent Page Builder from printing a
0
value for bottom margins. However, by default, Page Builder will print0px
. My guess is that you’re using a minification plugin that is removing the0
. If you are using a minification plugin you can look at the settings for that plugin and look into excluding Page Builder CSS from the minification process and thereby maintain the0px
which is valid CSS.Thanks for the reply Andrew.
Had a good look at all the settings in my plugins and cannot find any setting for minimising CSS etc. and I don’t have a plugin which does specifically that.
It’s not the end of the world, but I like to have cleanish code.
The pg-2-3 relates to the second page of my website I assume? So perhaps if I re-do the page builder widgets in there it might resolve it?
Hi Matt
Thanks for your reply. The file in question is dynamically generated based on the page design. If you can perhaps share a link to the page in question, we could take a look for you.