Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Banner Image not centred in background


jasonconway

Question

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 post
  • Answers 7
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

Posted Images

7 answers to this question

Recommended Posts

  • 0
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 BaNgan from 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, 360 Degree Photo block, Seperator Block (SVG Shape divider for sections)
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 post
  • 0
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.

Link to post
  • 0
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;
}

 

Link to post
  • 0
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 post
  • 0
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

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...