Jump to content

Reduce logo loading size on mobile.

Go to solution Solved by IXStudio,

Recommended Posts

Site URL: https://www.missmegabug.com/

Hello! I added code to my footer code injection to have my logo appear when my website is loading. It looks fine on desktop and tablet, but it does not adjust well to mobile view (see photo below).

I've tried customizing my code, but the changes I've made deactivate the load screen. Help! (Please. =))

I'm on Squarespace 5 using Foster template and my hosting plan is Advanced E-Commerce.

<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script>
<div class="logoload"></div>
$(function() {
  var loadLogo = $('header').find('img').attr('src');
  $('.logoload').css('background-image', 'url(' + loadLogo + ')');
.logoload {
  background-color: #fff;
  background-size: 500px;
  position: fixed;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background-position: center;
  background-repeat: no-repeat;
<script type="text/javascript">
$(window).load(function() {
$('.markdown-block .sqs-block-content h2').css('cursor','pointer');
$(".markdown-block .sqs-block-content h2").nextUntil("h2").slideToggle();
$(".markdown-block .sqs-block-content h2").click(function({


Load Logo.png

Link to comment
  • 3 weeks later...
  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

You can add this to Home > Design > Custom CSS to set new image on mobile only

@media screen and (max-width:640px) {
.logoload {
	background-image: url(https://cdn.pixabay.com/photo/2020/03/09/14/54/seychelles-4916045__340.jpg) !important;

If it doesn't work, try save & refresh & check in real mobile

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment

Hi there! I'm not trying to change my logo, I want my logo to be the loading screen whether on desktop, tablet, or mobile. I just want to shrink it on mobile so the entire logo is in view instead of cut off. Is there a way to do that? 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.