Jump to content

Pacific: How do I increase the logo size on the mobile display?

Recommended Posts

  • Replies 14
  • Views 26.7k
  • Created
  • Last Reply

This is the CSS you can target for controlling the logo on mobile:


@media only screen and (max-width: 768px) {
 #header #logoWrapper #logoImage img,
 #header #siteTitleWrapper #logoImage img {
   max-height: 50px;
   max-width: 100%;
   width: auto;
   height: auto;
 }
}

Adjust the “max-height” value as needed, and add this to your CSS Editor.

Link to comment
  • 6 months later...
  • 1 month later...
  • 8 months later...

You can also adjust the alignment of the logo adding this code:


@media only screen and (max-width: 768px) {
 #header #logoWrapper #logoImage img,
 #header #siteTitleWrapper #logoImage img {
   max-height: 80px;
   max-width: 100%;
   width: auto;
   height: auto;
 }
 #header #logoWrapper, #header #siteTitleWrapper {
   text-align:left;
 }
}

Link to comment
  • 3 months later...
  • 1 month later...
  • 3 weeks later...
  • 5 weeks later...
  • 3 months later...
  • 1 year later...
  • 8 months later...
  • 1 year later...

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.