Jump to content

Alternative Header/logo image cropping on right in mobile view

Recommended Posts

Site URL: https://www.melaniemurphy.org/art

Hi!

I have an unlinked page that I am working on in the Avenue template in which I have uploaded an alternative header/logo image using custom code.

I am however, experiencing difficulty centring the header/logo image for mobile view. The image crops on the right hand side.

The attached screenshot shows the image cropped in mobile view.

The code injection I have used is as follows;

<style>
.logo {
content:
url(https://static1.squarespace.com/static/5518eef0e4b00c2cab3bf9cf/t/61baee107a53c24b0b46bcc3/1639640668258/Website-banner-art.png) 
  }
</style>

I am not sure what code I need to ensure the image remains responsive in mobile view?

Appreciate any help and advice people may have! 🙂

Thank you!

Screen Shot 2021-12-24 at 10.38.09 am.png

Link to comment
  • Replies 1
  • Views 237
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

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.