Home › Forums › Support › Change site title in header at a certain width › Reply To: Change site title in header at a certain width
June 13, 2016 at 12:41 am
#201441
Tom
Lead Developer
Lead Developer
You’d have to use GP Hooks in the “Before Header Content” hook.
Something like this:
<div class="site-branding">
<p class="main-title hide-on-mobile" itemprop="headline"><a href="URL TO YOUR WEBSITE" title="YOUR TITLE" rel="home">YOUR DESKTOP TITLE</a>
</p>
<p class="main-title hide-on-desktop hide-on-tablet" itemprop="headline"><a href="URL TO YOUR WEBSITE" title="YOUR TITLE" rel="home">YOUR MOBILE TITLE</a>
</p>
</div>