• Resolved Alvand WP

    (@alvandwp)


    Hi,
    Thanks for your effort in developing the plugin.
    Recently, I noticed that the main CSS class of the table of contents block (wp-block-aioseo-table-of-contents) does not load on the frontend. So my CSS styles do not apply to this block. In the backend, the class loads.
    Please take a look at it.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Alvand WP

    (@alvandwp)

    The class does not add to the block’s HTML element on the frontend.

    Plugin Support Mahdi

    (@iammahdi)

    Hi @alvandwp,

    Thank you for the kind words and for using our plugin!

    You are observing correctly—the HTML structure and CSS classes for the Table of Contents block were updated in version 4.9.0.

    This wasn’t a bug, but rather a complete revamp we call Table of Contents Block 2.0. To support new requested features—specifically the ability to have multiple ToCs on a single page and the new accordion (collapse/expand) functionality—we had to refactor the underlying HTML structure on the frontend.

    As a result, the old wp-block-aioseo-table-of-contents class is no longer used in the frontend output. The new structure you are seeing is the correct, intended behavior for this version.

    If you have custom CSS targeting the old class, you will need to update your selectors to target the new classes generated by the 2.0 block.

    You can read more about this major update in our changelog here: https://aioseo.com/changelog/

    I hope this clarifies the change!

    Let us know if you have any other questions.

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.