Home>Support>Id of masthead widget changes every time I edit it

Id of masthead widget changes every time I edit it

I have created a widget in the masthead using Layout Builder. I have edited some of the CSS relating to the elements there (spacing, borders, widths) in Custom CSS.

However every time I edit the contents of that widget via Open Builder, the ID of the style changes. So I have to go into the code in the front-end to find out what the new ID is (e.g. id=”pgc-w60e4680407596-0-0″ or id=”panel-w60e4680407596-0-0-1″ depending on which part of the Layout Builder I’ve edited) and then copy and paste that id into my Custom CSS so that my css customisations remain in effect.

Why does it keep changing the ID every time I edit the widget? And is there any way to prevent this happening?

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, 2 months ago Jennie Frizelle

    Oops – sorry, I forgot I’d already asked this previously! I just saw the answer in my previous thread…

  2. 3 years, 2 months ago Jennie Frizelle

    Previous thread: Thread: Layout Builder in Masthead – new id every time I save changes

  3. 3 years, 2 months ago Andrew Misplon
    Hi, I Work Here

    Hi Jennie

    No worries, thanks for keeping us updated!

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