ID persistence - Forum | JoomShaper
Solved SP Page Builder

ID persistence

Asked by Marcos de Oliveira Leão 5 years ago Last activity 5 years ago

Hi.
Is it safe to use the numbers that sppb generates for IDs in customization via CSS? Example:

#sppb-addon-1611859145280 > div > div > div > div.pull-right > div > span > i {
  color: var(--cor2);
}

Is this number (1611859145280) persistent? If the addon is not deleted, will this ID always be the same?

Thanks.

Accepted answer

Marked as the solution
Marcos de Oliveira Leão Asked this

Thanks!

1 more reply

Paul Frankowski Senior Staff

Hi,
yes, this unique is added to each addon for ever.
Every addon have different ID generated.

But if you want to add this same for more addons, use custom class name which can be added inside addon settings. Then for example all addons with "red" class will be red.

Log in to reply.