That’s correct. The relevant line will be in your theme’s header.php or functions.php and, as such, will be output in every web page.
thanks, but i don’t get it completely yet.
I think this is the relevent line you are referring to?
<link rel=”stylesheet” type=”text/css” media=”all” href=”<?php bloginfo( ‘stylesheet_url’ ); ?>” />
In the function manuel, it is explained like:
stylesheet_url = http://example/home/wp/wp-content/themes/child-theme/style.css
However, i don’t see how this line is included in the ‘right file’ and referring to the right CSS.
Say for example that comments.php need some CSS. I think for the blog content there exist only one CSS, namely style.css? But then this line has to be added to all the php files?
bloginfo( 'stylesheet_url' )
references your current theme’s stylesheet.