max-width: 1140px - Forum | JoomShaper
Staff replied SP Page Builder

max-width: 1140px

Asked by Davids Spunde 5 years ago Last activity 5 years ago

Hi, after update to the latest version some of my pages received
sppb-row-container with max-width: 1140px so now the pages are narrower.
I have not changed anything else and it shows 0 in menu
i can change them , but if i put blank or 0 it automatically goes to max-width: 1140px

I made a new row, no change and it also gets the 1140 minimums

https://salons.lv/dekori

4 replies

Ofi Khan Staff

Hello Davids Spunde

You can change max-width in the SP Page Builder -> Row Settings. Go to the page and in the row settings -> Style option, change the max-width.

Best regards

Davids Spunde Asked this

You mean for each individual row? So I go to a page. Select a row. it says zero / blank in every possible place but still it adds some default max settings. I was fine just this morning and now for some reason its like this.

Even stranger is that if I unput in the blank Max Width 1200px , it works, but the css is silly
It puts it in as min witdh to act against the useless default max width

so far it seems that the solution is just to delete the css max width styles...

element.style {
}
@media (min-width: 1200px)
.sppb-row-container {
max-width: 1140px;
}

Davids Spunde Asked this

So I could not wait longer as the site layout was not working. Deleting the max-width css code in sppagebuilder.css for all devices from 1140px to 540px solved the problem, but I guess thats till next update. I dont think this should be like this by default as all the previous updates worked fine and I did not edit the pages for a year or so and used them daily, just today with latest update it broke down.

Ofi Khan Staff

If you remove CSS from the core file, then it will come back again on the next update. Better option is use your own style in a custom.css file.

Log in to reply.