Simple mistake or a typo:
if ( is_front_page() && is_home() ) :
It should be:
if ( is_front_page() || is_home() ) :
You want to put h1 in both: static front page and blog index.
Your condition with &&
wonât be true, if you use static page as front page.