Jump to content

Wexley Title Off-Centered on Mobile

Recommended Posts

Site URL: http://aidanodowdphoto.com

The title of my website includes a space ("Aidan O'Dowd"), which means that on mobile, the title becomes two lines instead of one, and the space between my first and last name causes the title to be off-centered (it's subtle, but VERY annoying to look at). Is there a CSS fix for this, to make Squarespace ignore the space?

Alternatively, I've found if I decrease the title font size enough, the my full name fits on one line, even on mobile. The only problem with that is I don't want my title that small on desktop or iPad. Can I just change the title font size on mobile using CSS?

Also, I'm pretty new to using any kind of custom CSS on my website, so any help with where I put this CSS code would be appreciated.

Screen Shot 2021-06-30 at 1.56.18 PM.png

IMG_8103.PNG

Link to comment
  • Replies 2
  • Views 287
  • Created
  • Last Reply

Add the following to Design > Custom CSS.

@media screen and ( max-width : 560px ) {

  .logo a {
  
    font-size : 18px;
    letter-spacing : 10.5px;
    
    }
  }

This is for v7.0 using the Wexley template.

Let us know how it goes.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Link to comment
7 hours ago, creedon said:

Add the following to Design > Custom CSS.

@media screen and ( max-width : 560px ) {

  .logo a {
  
    font-size : 18px;
    letter-spacing : 10.5px;
    
    }
  }

This is for v7.0 using the Wexley template.

Let us know how it goes.

This worked perfectly! Thank you! I ended up increasing the font size a little because I had some room, but your code worked. 

IMG_8120.PNG

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.