Page Builder Page Exports Adding Styling - Question | JoomShaper

Page Builder Page Exports Adding Styling

PD

Peter Dowse

SP Page Builder 1 year 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.

0
7 Answers
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 1 year ago #161331

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

0
PD
Peter Dowse
Accepted Answer
1 year ago #161333

Sure thing.

Please see hidden content.

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 1 year ago #161368

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.

0
PD
Peter Dowse
Accepted Answer
1 year ago #161437

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?

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 1 year ago #161463

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

prnt.sc/o_-5pZRg-kvc

0
PD
Peter Dowse
Accepted Answer
1 year ago #161679

It's the text block addon that does it.

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 1 year ago #162313

Please import this JSON on your site and check the typography. It has "Times New Roman" as Font Style, 20px Font Size and Text Underline.

text_block_addon_typography.json.zip

0