- This topic has 6 replies, 6 voices, and was last updated 6 months, 2 weeks ago by Tom.
August 29, 2014 at 4:26 am #20929Jean Shirreffs
Tom, I don’t suppose that it will ever be possible to do a Site Title with more than one line – I am doing a website for my Church and their site title/slogan at the top is on two lines. At the moment I got round the problem by creating an image instead (which includes the logo) and I am using that instead of a Site Title – but that solution is not ideal.
I have done a mock-up of the Church’s website on a spare website that I have (my own actually). The url of that website is : http://sew-me-how.com (if you want to see what I mean about needing a two line Site Title). Ideally, I would like their logo to be separate from the Site Title.
Jean ShirreffsAugust 29, 2014 at 8:52 am #21018TomLead DeveloperLead Developer
There’s a couple options.
1. You can use the tagline as the second line – and style it to look the same using the Typography addon.
2. Hide the site title and tagline in the Customizer, then add the following to the “Before Header Content” hook in GP Hooks:
<div class="site-branding"> <p itemprop="headline" class="main-title"><a rel="home" title="Your Title" href="http://yourdomain.com">Your first line of the title <br /> Your second line of the title</a></p> </div>
Let me know if that makes sense or not 🙂August 29, 2014 at 1:03 pm #21158Jean Shirreffs
Thanks for your very prompt reply – I shall experiment with the solutions that you have suggested and let you know sometime how I got on.
Jean S.November 21, 2019 at 5:36 am #1070301Camille
Is it possible to have an update on this now that GP Hooks is replaced by Elements?November 21, 2019 at 5:47 am #1070321LeoStaffCustomer Support
Hmm it should be basically the same.
The HTML would remain the same. And just select
before_header_contenthook in hooks element:
Let me know if you are having any issues 🙂March 16, 2020 at 10:02 am #1196595Giselle
I tried this and got the site titel to show, but I also have a logo added from the customiser and want the site title to appear next to it (as it does if using the Site Title field). Can I do this using hooks?
Giselle LeebMarch 16, 2020 at 4:07 pm #1196819TomLead DeveloperLead Developer
Any chance you can create a new topic (this one is very old), and include the URL to your site so we can take a look?
- You must be logged in to reply to this topic.