I want to get rid of a dash '-' in my Wordpress site title on mobile. To do that, I want to place a span around the dash, something like the below.
Desired Result
<h1 class="site-title">My Site Title <span class="remove-mob">-</span> Is Great</h1>
Here's my current PHP code, can anyone suggest an edit, so that I can add the span above around the dash contained within the site title?
Current Code
<h1 class="site-title"><?php bloginfo( 'name' ); ?></h1>