Useless CSS Code Generation In SPPB4 - Question | JoomShaper

Useless CSS Code Generation In SPPB4

Fabian W.

Fabian W.

SP Page Builder 1 year ago

Hi Guys!

We discoverd a huge problem in SPPB4.

We have REMOVED all values from Addons on all Rows, but SPPB still generates all these empty values in CSS code with 0px. Here's what we get in CSS (inline & production mode):

#sppb-addon-1667916684705 h2.sppb-addon-title {
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 0px;
  margin-left: 0px;
  padding-top: 0px;
  padding-right: 0px;
  padding-bottom: 0px;
  padding-left: 0px;
}

Additional comment on that: I've checked this twice and found another settings-section where these spacings are defined by default! Is it possible to get started (adding new addon) without these default values that are absoulutely senseless? Especially zero-values?

Also we discoverd generation of box-shadows with "0 0 0 #fff" even though it's turned off. This happend also when we delete #fff value. For example:

.sp-page-builder .page-content #section-id-1667902451900 {
  box-shadow: 0px 0px 0px 0px #FFFFFF;
}
.sp-page-builder .page-content #section-id-1667917795562 {
  box-shadow: 0px 0px 0px 0px #FFFFFF;
}

So. WHY? Could this sensless CSS generation be fixed with highest priority, please?

1
3 Answers
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 1 year ago #92517

Hi,

Thanks. I fully agree with you. I remember that I added that task for our developers team, but I will show them also your post.

Let's wait

0
Fabian W.
Fabian W.
Accepted Answer
1 year ago #92594

Yes, we will wait - hope it dosen't take long time. :-)

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 1 year ago #92597

I set higher priority

0