Skip Navigation

[Gelöst] Accordion cell html structure changed

Dieser Thread wurde gelöst. Hier ist eine Beschreibung des Problems und der Lösung.

Problem:

A user reported that he is noticing some changes in the HTML output of the accordion cell included with the Toolset Layouts plugin.

Solution:

Guided that the change in the mark-up of the accordion cell seems to be related to the Bootstrap version.

The old markup from the "before" screenshot is used when "Bootstrap 3" is in use, while the new markup from the "after" screenshot is generated when "Bootstrap 4" is in use.

Relevant Documentation:

n/a

This support ticket is created vor 2 Jahren, 8 Monaten. 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.

Heute stehen keine Supporter zur Arbeit im Werkzeugsatz-Forum zur Verfügung. Sie können gern Tickets erstellen, die wir bearbeiten werden, sobald wir online sind. Vielen Dank für Ihr Verständnis.

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

Supporter timezone: Asia/Karachi (GMT+05:00)

Dieses Thema enthält 2 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von erikd-6 vor 2 Jahren, 8 Monaten.

Assistiert von: Waqar.

Author
Artikel
#2323219
FAQ front end before.png
FAQ back end before.png
FAQ front end after.png
FAQ back end after.png

On a clients site we have used an accordion cell in Layouts to build a FAQ. After my client updated some content if the accordion, the front end view was disrupted. It appeared that the accordion cell had produced a completely different html code and my custom css for styling the FAQ did not work anymore due to the altered markup. I have been able to replicate the before and after states of this issue in a developer site which runs a recent copy of the live site.

Question: has Toolset changed anything in the html output of the accordion cell?

I add screenshots of the front end and the html before and after.

#2323631

Hi,

Thank you for contacting us and I'd be happy to assist.

The change in the mark-up of the accordion cell seems to be related to the Bootstrap version.

The markup from your "before" screenshot is used when "Bootstrap 3" is in use, while the markup from the "after" screenshot is generated when "Bootstrap 4" is in use.

Please go to WP Admin -> Toolset -> Settings -> General and select "Bootstrap 3" for the "Bootstrap loading" option and old HTML output structure will be reverted.

regards,
Waqar

#2323809

Thank you Waqar. Your solution fixed the problem.
My issue is resolved now. Thank you!