That's right, they don't work together like that. When I try combining the two bits of code, the result is that the title gets hidden.
.p-title-value {visibility: hidden;}
.p-title-value:before {content:"Newname"}
If you use the two above, it appears the "visibility: hidden" overrides the p-title-value:before, and all the text gets hidden.