Dear Stephen,
I don't think you are using Portfolio Manager by us.
Because we have not used "data-class-portfolio" attribute as far as I can remember
In Portfolio Manager, Title always has classes with it.
e.g. in mosaic view, it has class "eds-bpm-view-heading"
and in single project view, it has class "bpm-title-right"
You can check out the demo here:
www.downloads.eleopard.in/portfolio-manager-demo-wordpress
And you can see there is always a unique class in title.
Please let me know if this puts you in the right direction.