Skip Navigation

[Resolved] unwanted line breaks introduced via beaver builder template

This support ticket is created 4 years, 2 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

Tagged: 

This topic contains 7 replies, has 2 voices.

Last updated by Shane 4 years, 2 months ago.

Assisted by: Shane.

Author
Posts
#1799483
ToolsetBBLineBreaks-Oft2020.png

Please see previous thread, now closed so I cannot reply:

https://toolset.com/forums/topic/line-breaks-added-to-beaver-builder-single-content-template/

The workaround I did in late Mar 2020 is no longer working, I assume due to Toolset plugin updates since then (and most likely recently, as I just caught this problem). See att'd screenshot for image of behavior.

As review, in order to eliminate line breaks in Beaver Builder templates I inserted

output='raw'

to all Types field shortcodes, e.g.,

[types field='abstract' output='raw'][/types]

An example CPT single view is here:

hidden link

You will see that the above no longer works, and Beaver Builder "Tabs" module is messed up as a result.

All Toolset plugins are latest versions.

I can grant you network admin access to the multisite if you provide an email so that you can set your pwd, or I can reply privately with full login details. I do not believe server FTP and Duplicator access are initially needed; please confirm.

Many thanks,

Jim P.

#1801903

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Jim,

Before I have a look at the site, I saw that in your previous ticket that you nor christian were able to replicate the issue outside of this site.

Can you confirm that this still remains true ? As it would still stand that we won't be able to escalate unless its replicable.

Thanks,
Shane

#1805119
ToolsetBBLineBreakIssueMarkup.jpg

Please see trial CPT and BB tabs template on a new site. Here is single view:

hidden link

Attached image shows line breaks inserted in code, thus tabs don't line up.

I have used raw code for each field, e.g.,

[types field='field-01' output='raw'][/types]

I trust that we can find a solution soon, thanks.

Jim P.

#1810617

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Jim,

I'm not sure what is causing this issue. However is it replicable on a clean instance?

Was the site you provided me a clean instance meaning on the Toolset plugins active ?

Here is a workaround that you can use to remove the br tags

jQuery( document ).ready(function() {
jQuery('.fl-tabs-labels').find('br').remove();
});

Please let me know if this helps.
Thanks,
Shane

#1811805

Thank you. No, this is not a clean instance with only Toolset plugins active; this is a five-site multisite, and I need it to work there. I would appreciate your leads into possible conflicting plugins: last time I contacted Beaver Builder, and they did not believe the issue was on their end.

How could I add this jQuery script to that single content template alone?

Thank you,

Jim P.

#1812721

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Jim,

Beaver builder should have a custom css section where you can add the css.
hidden link

If you are using a view on this page then you can add the css to the view as well as the view has a custom css section.

Please let me know if this helps.
Thanks,
Shane

#1819619

I still do not see how to enter jQuery scripts into a box that expects CSS....I tried what you recommended and no dice.

We will try and further diagnose, and will reopen if you end up closing this ticket, as we cannot now use BB and Toolset, which is serious.

Jim P.

#1821129

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Jim,

I checked the documentation for Beaver Builder and they do have a Javascript editor as well.
hidden link

Perhaps you can look into this here as well.

Thanks,
Shane