The page id is always in the class of the <body> tag. You can use that class name to narrow your styles to only a specific page.
Or are you asking where the php generates it?
i am asking where the php generates it, so to make a default style as is generated.
-
This reply was modified 9 years, 2 months ago by
phaidonas.
It is in the get_body_class() function. But this would not be where to change it. Never alter core code. To alter body classes used, use the ‘body_class‘ filter applied at the end of the same function.