Home>Support>Siteorigin – incorrect CSS – trying to locate the file

Siteorigin – incorrect CSS – trying to locate the file

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.

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 3 years, 1 month ago Andrew Misplon
    Hi, I Work Here

    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 print 0px. My guess is that you’re using a minification plugin that is removing the 0. 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 the 0px which is valid CSS.

  2. 3 years, 1 month ago Matt

    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?

  3. 3 years, 1 month ago Andrew Misplon
    Hi, I Work Here

    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.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More