This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Id of masthead widget changes every time I edit it

4 years ago · Last reply by Andrew Misplon 4 years ago

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.

Need fast email support? Get SiteOrigin Premium

Replies

3
  1. Jennie Frizelle 4 years, 7 months ago

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

  2. Andrew Misplon Staff 4 years, 7 months ago

    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.

Have a different question or issue?

Start New Thread