Jump to content

CSS to Remove Blank Space Above and Below Site Title on Mobile?

Recommended Posts

Site URL: http://amyroperlyons.com

I want to remove the large blank spaces above and below the my Site Title (AMY ROPER LYONS) on mobile (see image attached). There are no big spaces on desktop or tablet view. I tried all the code I could find on this forum that seemed to apply to this situation but nothing had any effect. Web address is http://amyroperlyons.com if you want to look.

Annotation 2020-10-11 231136.jpg

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

Thanks very much, Tuan! The code you suggested:

@media screen and (max-width:767px) {
header#header {
    padding-top: 0 !important;
    margin-bottom: 0;
h1.logo {
    font-size: 40px !important;

worked perfectly and the body images and text now appear much closer to the Site Title on mobile. Thanks!

Annotation 2020-10-12 103353.jpg

Link to comment


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.