It looks like you're new here. If you want to get involved, click one of these buttons!
#testingstyle { color:red; text-align:center; }just made the text red, still left aligned. Then I just straight up put
@text-align:center;this should be in the center@@and again it did nothing.
Comments
If you read the Custom Styles section of the SUgarCube 2 documentation may notice that the four examples are sub-divided into those related to inline and those to block.
You need to use the block related format if you want to use text-align because it generates a HTML div element which by default supports text alignment.
The inline related ones generate a HTML span element which by default does not support text alignment.
Also I accidentally posted this as a discussion it seems so I can't mark it as answered