Website Building » Squarespace » How Do I Show a Different Banner Image in Squarespace Mobile?

How Do I Show a Different Banner Image in Squarespace Mobile?

Last updated on December 25, 2022 @ 2:20 pm

As you may know, you can use CSS to customize the look of your Squarespace site. This includes changing the banner image on your site. You can change the banner image in the Mobile view of your site by adding a few lines of code to your CSS file.

First, you’ll need to find the URL of the image you want to use as your mobile banner. You can do this by right-clicking on the image and selecting “Copy Image Address.”

PRO TIP: If you are using the Squarespace platform to build your website, it is important to be aware that there is a known issue with the banner image displaying incorrectly on mobile devices. The workaround for this issue is to create a separate banner image for mobile devices, which can be done by going to the Design tab and selecting “Mobile Banner.”

Next, open your CSS file and add the following code:

@media only screen and (max-width: 640px) {
#mobile-banner {
background-image: url(IMAGE URL);
}

Be sure to replace "IMAGE URL" with the URL of the image you want to use. Now when you view your site on a mobile device, the banner image will be different from what it is on the desktop version of your site.

Morgan Bash

Morgan Bash

Technology enthusiast and Co-Founder of Women Coders SF.