A lot of code in html - Forum | JoomShaper
Staff replied SP Page Builder

A lot of code in html

Asked by wolfex 2 years ago Last activity 2 years ago

Hello,
I checked now one or my site a I can see lot of strange Sp Page Builder content and I thing this is an error. How can I remote it?

@media (max-width: 1199.98px) {#sppb-addon-1717069633148{}}
@media (max-width: 991.98px) {#sppb-addon-1717069633148{}}
@media (max-width: 767.98px) {#sppb-addon-1717069633148{}}
@media (max-width: 575.98px) {#sppb-addon-1717069633148{}}#sppb-addon-wrapper-1717069633148{
}
.....

4 replies

Ofi Khan Staff

Hello wolfex

It looks like you have added CSS to your page or addon settings. Please check your page style section. Follow this documentation:

SP Page Builder page options

Best regards

wolfex Asked this

Hi, I have Production mode enabled, this is not the problem. Please take a look on enclosed html. The problem is when a content of site module is created via SPPB. In this module have a lot of buttons a in final html is many @media tags:
@media (max-width: 1199.98px) {#sppb-addon-1717069633148{}}
@media (max-width: 991.98px) {#sppb-addon-1717069633148{}}
@media (max-width: 767.98px) {#sppb-addon-1717069633148{}}

Paul Frankowski Senior Staff
2 years ago · edited

Indeed, styles from SPPB Modules are not moved to PageX.css file, becuse Module is not a Page.
We have to improve that in the future using , for example, extra ModuleX.css file.

By now I don't have any "magic fix" for you. We both have to wait.

Log in to reply.