Home>Support>Add a unique body class to posts/pages that use Page Builder

Add a unique body class to posts/pages that use Page Builder

Was hoping that .siteorigin-panels would uniquely identify pages using PB, but it’s on every page.

A unique class would allow me to have separate styling for PB page structures.

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

  1. 8 years, 10 months ago Greg Priday
    Hi, I Work Here

    Hi George

    We’ve actually been able to fix this up. It was a small bug in the code we were using to check for the pages. The next update to Page Builder will include this fix.

    https://github.com/siteorigin/siteorigin-panels/commit/0d35a4af6fcf0a6d422a118543f30a4220720e6d

  2. 8 years, 10 months ago George Plumley

    Fantastic, thanks Greg!

  3. 8 years, 10 months ago Private Message - George Plumley

    This is a private message.

  4. 8 years, 10 months ago Greg Priday
    Hi, I Work Here

    That's awesome! I'll drop you an email now.

  5. 8 years, 9 months ago George Plumley

    Just upgraded to PB 2.2.2 and now .siteorigin-panels is a unique body class for pages using PB – thanks for restoring that functionality!

  6. 8 years, 9 months ago Greg Priday
    Hi, I Work Here

    Thanks for confirming George! Yeah, the bug fix was in the 2.2.2 release – so glad to hear it’s working.

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