Thanks for the reply. Still no luck after removing that extra dot but it appears any div I add a class name to in Visual Composer doesn’t take the custom CSS.
If I manually add class or ID names to my code in the WordPress editor, the styling takes hold. For example, I added an ID of “topnav” to the code and can now hide it when making the PDF.
So this looks like a problem with Visual Composer (unless you think otherwise). Thanks!