I am using a static homepage with sections. I need to edit an html element that is generated automatically by GeneratePress, which is #main or .site-main (I need to make it absolute as I am trying to create a full page scroll homepage).
Is there a way (in CSS) to select the #main or .site-main only in the homepage? I want to edit it only for the homepage not the entire site. While working I came across some ids like #post-14 that are uniquely generated for each page/post, so I thought about using them to target down the #main in the homepage – but I can’t find them anymore.
So my question is, would it be correct to try and edit the #main element of the homepage through a specific homepage id? And if so, where can I find that id. Thanks a million.