Attach a different CSS file to certain WP pages?

Any help or pointers would be appreciated : )

It depends a little on what the types of pages are that you are adding the styling. Are they custom templates? Are they “static” pages. You can look at the Pinegrow WordPress Conditionals actions. Depending on what the pages are you could use either “IF is_page_template” or “IF is_page”.

It’ll be a singular template page, to be honest I have no idea what I’m doing…

Will it have a specific file name like “custom-singular-page.php”, or are you replacing the base WordPress template(s)?

If you do have a specific template name, then within the Pinegrow “inc/custom.php” add in a conditional css enqueue:

if ( is_page_template( 'custom-singular-page.php' ) ) {
wp_enqueue_style( 'custom-style-name', get_stylesheet_directory_uri(). '/relative/path/to/stylesheet.css', array(), null, true);

You can also handle it by registering all of your stylesheets and then just enquing by the name. Look closer at the “wp_enqueue_style” function to see how you want set the other options.