Jump to content

Banner Image not centred in background

Recommended Posts

Site URL: https://mango-cylinder-yeyd.squarespace.com/

Hi Everyone,

I've designing a new client site with a solid navigation at the top and a background banner image underneath.

I've noticed that the image position is not centred correctly in the banner height? Take a look at the Free Resources page and you can see that there is a geometric symbol that should sit in the centre vertically, but it's not.

I think that by default the banner images are set to fill the height including the navigation section and this is fine for most images, but when there is an important element that needs to be sat in the middle, it cant be changed?

Is there some code to fix this easily?

Many thanks in advance :0)

Link to comment
  • Replies 7
  • Created
  • Last Reply

Top Posters In This Topic

5 hours ago, jasonconway said:

Site URL: https://mango-cylinder-yeyd.squarespace.com/

Hi Everyone,

I've designing a new client site with a solid navigation at the top and a background banner image underneath.

I've noticed that the image position is not centred correctly in the banner height? Take a look at the Free Resources page and you can see that there is a geometric symbol that should sit in the centre vertically, but it's not.

I think that by default the banner images are set to fill the height including the navigation section and this is fine for most images, but when there is an important element that needs to be sat in the middle, it cant be changed?

Is there some code to fix this easily?

Many thanks in advance :0)

Could you share the site with password?

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment
On 2/26/2021 at 1:15 AM, jasonconway said:

Site URL: https://mango-cylinder-yeyd.squarespace.com/

Hi Everyone,

I've designing a new client site with a solid navigation at the top and a background banner image underneath.

I've noticed that the image position is not centred correctly in the banner height? Take a look at the Free Resources page and you can see that there is a geometric symbol that should sit in the centre vertically, but it's not.

I think that by default the banner images are set to fill the height including the navigation section and this is fine for most images, but when there is an important element that needs to be sat in the middle, it cant be changed?

Is there some code to fix this easily?

Many thanks in advance :0)

The url doesn't exist.

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
On 3/2/2021 at 8:33 PM, jasonconway said:

Hi Tuanphan,

URL agatapalmer.squarespace.com

the password is @gatapalmer

Try adding to Design > Custom CSS

/* REsources page - center banner image */
body#collection-6037be0cc7726751e3d5f881 article section:first-child .section-background img {
    object-position: 50% 50% !important;
}

 

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
On 3/6/2021 at 2:29 PM, tuanphan said:

Try adding to Design > Custom CSS


/* REsources page - center banner image */
body#collection-6037be0cc7726751e3d5f881 article section:first-child .section-background img {
    object-position: 50% 50% !important;
}

 

Hi Tuanphan,

That didn't change anything sadly?

Link to comment
  • 2 weeks later...
On 3/12/2021 at 12:14 AM, jasonconway said:

Hi Tuanphan,

That didn't change anything sadly?

I see it changed here. You can adjust 50% 50%

Also you haven't changed SEO Title so the browser tab name still shows "General 1"

image.thumb.png.db37ebf8a4ae92818944435a84709c44.png

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
  • 4 weeks later...

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.