• I’ve tried to get the collapse and uncollapse buttons to show, but nothing seems to work.
    It doesn’t matter which I choose from the menu, none are visible on the site.
    I’ve tried adding the filters from the userguide to my functions.php, but still no buttons visible.
    Any idea how to fix this?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Achal Jain

    (@ibachal)

    Hi @annaryker

    Do you mean that collapse and uncollapse icons are not visible on the frontend? Or something else? Please confirm. A screenshot would be helpful to understand.

    • This reply was modified 2 years, 3 months ago by Achal Jain.
    Thread Starter A.T.

    (@annaryker)

    Hi @ibachal . Yes, they do not display on the front-end. I’ve tried different settings, no change. I’ve checked my css code to see if that was the issue, it is not.
    Here’s a screenshot.

    The toc does collapse when you click the title, but I would like the buttons to be visible so people know it can be collapsed.

    • This reply was modified 2 years, 3 months ago by A.T..
    Plugin Author Achal Jain

    (@ibachal)

    @annaryker Looks like the dashicons library is not getting enqueued on the frontend on your site. Are you using any optimization plugin and excluded dashicons CSS file from getting enqueued? Or is there any specific code added anywhere?

    You can try adding the below code to your current theme’s functions.php file and see if it works:

    
    // Enqueue Dashicons to load on the front-end
    add_action( 'wp_enqueue_scripts', 'dashicons_front_end' );
    function dashicons_front_end() {
       wp_enqueue_style( 'dashicons' );
    }
    
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘(un)collapse buttons not working’ is closed to new replies.