Jump to content

Centre header logo in tablet view

Go to solution Solved by tuanphan,

Recommended Posts

I was able to force the text navigation to show in tablet view (with help from another post) but it left the logo off centre. Any advice on how to centre the logo in tablet view? My attempts end up moving the logo off-centre in regular desktop and mobile views. It must be to do with margins or padding coming from the navigation links but I can't seem to make it work. Any help would be greatly appreciated! Thank you in advance!

 

139443191_ScreenShot2023-01-16at11_46_27AM.thumb.png.4e14c960c59494d6364ed1755725e6e4.png

Link to comment
  • Replies 4
  • Views 277
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

  • Solution
On 1/25/2023 at 7:32 PM, Haoma said:

www.haomaselections.com

Add to Design > Custom CSS

@media screen and (max-width:1024px) and (min-width:768px) {
.header-title-logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
}
}

 

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.