Table of Content not working on mobile

The table of contents works on desktop but when I switch to mobile it stops fetching the data from the RT. I’ve seen multiple posts regarding the table of content not working on mobile and apparently it’s "fixed"since 2023 but I am finding the same issue.

Hey @nacho! Could you please share some links? I’ll take a look :wink:

Hi Luis,

Thank you for the reply, here’s the link:
https://harbiz.webflow.io/blog/las-10-tendencias-de-fitness-para-2024

Can you share a read-only link as well?

https://preview.webflow.com/preview/harbiz?utm_medium=preview_link&utm_source=designer&utm_content=harbiz&preview=904f18a55c7b16bb85c1154bdfb42a8f&workflow=preview

Hey @nacho! Are you trying to use two tables for only open Rich Text?

I can see the table being generated correctly for the mobile breakpoint but it is hidden from view until I manually remove the display: none from the upper element.

I believe the lower element is the table for the mobile view.

You’ll need to style the desktop table instead of creating a duplicate table as the solution only creates one table per Rich Text.

1 Like

Thank you Luis, yes seems like we kept two tables with the attribute in the document. It is working now!

Have a great week and thank you again.

1 Like