Open thunar, then go: MENU > Edit > Configure custom actions...
Add a new custom action (+)
Name: Open as Root
Command: pkexec thunar %f
Icon: Select a nice icon
Click on 'Appearance Conditions' tab (top) Select (check) 'Directories'
Done! Now when you right-click on a directory, the 'Open as Root' option is there to click. Any file you edit from the new thunar window will be edited as root.