Hi Rod,
Sorry to hear that code snippet didn’t hide the sidebar as expected on the Events Calendar and WooCommerce pages, we will do our best to help you get this design problem figured out!
Did you use the code snippet found in this support center article?
Could you also send us a link to a couple of the pages that are still showing the sidebar?
Having that will allow us to take a look at the markup for those pages and determine why the sidebar exclusion rules aren’t being respected there.