Similar to my function to edit the buttons. However, since Shadowlands every button seems to have an additional field which means .nogrid, that is what caused the problem.
bar3.lua (bar with issue, shares the same code with all other bars)
init.lua (file for loading and creating bars, function to hide Blizzard-Stuff can found on top of the file)