09/23/2016 at 10:07 am
#392819
Keymaster
@ Katelyn
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-single
class 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.
- If you are editing the template make sure you are following one of the following recommended ways or you will lose you changes on updates.
- You could also use custom CSS override files. You would create two files;
card-custom.css
andcard-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!