Support

Account

Home Forums Add-ons Flexible Content Field Disable drag/drop on Flexible Content for non admin users Reply To: Disable drag/drop on Flexible Content for non admin users

  • The solution I used for anyone else with the same question.

    I enqueued an admin-acf.css file into my theme and used the following CSS to target the flexible content fields:

    .acf-fc-layout-handle {
        pointer-events: none;
    }
    
    .acf-flexible-content > .acf-actions > [data-name="add-layout"],
    .acf-hndle-cog {
        display: none!important;
    }