Use My Own ID - Question | JoomShaper
SP Page Builder 6 is Here! Learn More →

Use My Own ID

S

SPD

SP Page Builder 2 years ago

Just asking in case I am missing something. Is it possible to create the ID myself so I can consistently reference it in custom.css

For instance, I have this… <div Id = “sppb-addon-wrapper-1672156692254”>

.. which for some reason is giving me a 30px bottom margin which I don’t want and can't figure out why.

Since I have been taking advantage of My Sections a lot lately, it would be ideal if I could actually name the row/column/addon as opposed to a random number so it would be the same for each type of section I have, would almost work like template, for me anyway

So instead of the above I would have .. <div Id = “sppb-addon-wrapper-my-custom-specific-thingy”> Cheers

0
5 Answers
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 2 years ago #99322

Hi

Thanks for contacting us. Sorry its not good to touch the core code . Please do not edit the template.css or any other CSS file from the Helix Ultimate template framework. The reason being that all of your changes will be overwritten by a template engine (reverting back to original code). Instead, we suggest using custom.css file where you can override the default CSS code created by the our team.

You can follow this documentation below:

https://www.joomshaper.com/documentation/helix-framework/helixultimate/custom-code

-Regards.

0
S
SPD
Accepted Answer
2 years ago #99323

Ah, didn't realise that was core stuff,would never touch that, just assumed it was a random generated number. Wondering if I could have control over that. No worries, guess I just have to live with the margin as I can't seem to override it but probably just my ignorance.

Thanks for quick response

0
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 2 years ago #99431

No worries. You are most welcome.

0
F
fairpak
Accepted Answer
2 months ago #200716

Hi ! I have the same problem, unfotunately the link is dead. every time I make an update the (XXXXXX) string changes.

#sppb-ac-heading-XXXXXXXXXXXXXXXX-key-0 {
  background-color: #e3281c;
  text-align: center;
    }

thank you in advance

0
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 2 months ago #200734

Hi

Its an CSS ID that's why it different from website to website. Please create a new forum post about your issue. Our team will help you.

0