Jump to content

Centre the title on the home page, Henson template

Recommended Posts

Site URL: https://www.marta-guerrero.com/

Hi there, 
I'm using the Henson template and when I put the title of the main page, as it has only one line, it doesn't fit properly in the centre of the page. 
I was wondering if it is possible to centre the title. 


(If I go to the description of the page where I write the title and use the bar space, it centres it but it makes not visible the Menu names at the bottom of the page). 


Thank you in advance for any help, if is there someone that has have the same problem. 


Link to comment

Don't remove any code in your current code. Add this CSS

body.homepage div#collectionDesc p:first-child {
    position: fixed !important;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    width: 100%;
    margin: 0 !important;

body.homepage div#collectionDesc p:first-child br {
    display: none;


Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.