MushOn Posted August 19, 2014 Share Posted August 19, 2014 My mobile display looks great, however, my logo image is very small compared to how it looks on the desktop view. How can I increase its size on mobile? Link to comment
Jkizmann Posted August 19, 2014 Share Posted August 19, 2014 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
arthurm Posted February 21, 2015 Share Posted February 21, 2015 This code hasn't worked on my marquee site. the "@" sign is causing a "syntax error" is there any other way to identify it? Link to comment
christined1570047695 Posted March 28, 2015 Share Posted March 28, 2015 Thank you for this! Worked great! Link to comment
Guest Posted December 23, 2015 Share Posted December 23, 2015 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
Nuera Posted April 15, 2016 Share Posted April 15, 2016 I tried every iteration of this code that I could think of, and none of it seemed to affect my logo size. I'm using the Pacific template too. Any thoughts? Link to comment
chriscambell1570048197 Posted May 26, 2016 Share Posted May 26, 2016 So this code works perfectly on my site in terms of resizing the logo, but there's an issue with the menu on mobile now where the logo covers over the first and second menu items. Is there an easy way to make sure that the list of menu items doesn't start until a specific distance past the bottom of the logo? Link to comment
jeanna Posted June 13, 2016 Share Posted June 13, 2016 This isn't working for me either. I added the custom code to my CSS Editor and changed the max height to 150px then 350px and nothing changed. Link to comment
cmasters Posted June 15, 2016 Share Posted June 15, 2016 This worked perfectly on the Charlotte Template! Thanks! Link to comment
Eliasmorr Posted July 15, 2016 Share Posted July 15, 2016 Found this on another thread, it worked for me. Link to comment
DariaSchumann Posted October 25, 2016 Share Posted October 25, 2016 THANKS SOOO MUCH! @jkizmann Link to comment
blane Posted January 18, 2018 Share Posted January 18, 2018 Works perfectly for me on Pacfic, thanks! Link to comment
brownie1570048515 Posted September 28, 2018 Share Posted September 28, 2018 I have this issue too, in Charlotte, but I just want to make sure by adding this I'm not going to mess something up. In Squarespace help, it says CSS shouldn't be used to adjust margins - could break mobile styling, or mess up displays when Squarespace makes updates. Any thoughts on this? Thanks! Link to comment
Guest Posted March 5, 2020 Share Posted March 5, 2020 Wish you find a way to succeed. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.