Page Builder Page Exports adding styling - Forum | JoomShaper
Staff replied SP Page Builder

Page Builder Page Exports adding styling

Asked by Peter Dowse 2 years ago Last activity 2 years ago

Hi Guys,

When exporting Page Builder Pages (built in article manager using Page Builder) - when I export the page, any text addons that don't have numbers for text or line height etc, the system is automatically adding some figures in there.

Looking at the JSON file, I can see that the following code is being added to the JSON file.

"text_fontsize\":{\"xl\":\"20\",\"lg\":\"18\",\"md\":\"18\",\"sm\":\"16\",\"xs\":\"16\"},\"text_lineheight\":{\"xl\":\"30\",\"lg\":\"28\",\"md\":\"28\",\"sm\":\"26\",\"xs\":\"26\"},\

Do you have any ideas as to where this might be coming from and how to stop it, as it's causing all sorts of styling issues with importing pages.

7 replies

Ofi Khan Staff

Hello Peter Dowse

Default styling has been added. Can you please shatre the exported JSON (as ZIP file) here? I will check it on my localhost.

Best regards

Peter Dowse Asked this

Sure thing.

Please see hidden content.

Ofi Khan Staff

I have exported the JSON to both page and article. There are no issues here. As I said, if you do not have any settings for fonts, it will take the default settings.

Peter Dowse Asked this

When you say 'default setting' - what do you mean?

I thought the same, so I changed the typography in the template settings to strange and wonderful font sizes, exported, re-imported to see if the JSON file would take on the typograhpy settings allocated - it didn't take the strange and wonderful settings, it still pulled in the settings listed above.

The settings listed above don't appear to be default settings, these appear to be bootstrap breakpoints with font sizes allocated to them - so they aren't coming from the default settings in typography - is there another place these default settings would be coming from?

Ofi Khan Staff

Can you specify on which addon the typography settings does not export on the JSON?

https://prnt.sc/o_-5pZRg-kvc

Peter Dowse Asked this

It's the text block addon that does it.

Log in to reply.