re: Normally I’d target the Member Directory page’s page ID, but it seems that the Member Directory and the Individual Member pages all have the same page ID!!
Yes, that is correct because you never leave the actual WP page when browsing the directory.
@ How can I make styling changes to the directory page without it affecting the member pages?
Well you have many options…
- The profile detail view have a
.cn-entry-singleclass you could use to override the result list view style.
- It looks like you have been editing the template directly, so, you could use inline CSS styles.
- You could also use custom CSS override files. You would create two files;
card-custom-single.css. The one without single in the name would load on the page results list view while the one with the single in its name would load on the single entry profile detail view.
Hope that helps!