jasonconway Posted February 25, 2021 Share Posted February 25, 2021 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
Beyondspace Posted February 25, 2021 Share Posted February 25, 2021 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? BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace (+100 Spark plugin customisations) 🥳 Freemium Squarespace Widget Templates (+1000 Elfsight Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
tuanphan Posted March 1, 2021 Share Posted March 1, 2021 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 Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
jasonconway Posted March 2, 2021 Author Share Posted March 2, 2021 23 hours ago, tuanphan said: The url doesn't exist. Hi Tuanphan, URL agatapalmer.squarespace.com the password is @gatapalmer Link to comment
tuanphan Posted March 6, 2021 Share Posted March 6, 2021 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 Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
jasonconway Posted March 11, 2021 Author Share Posted March 11, 2021 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
tuanphan Posted March 21, 2021 Share Posted March 21, 2021 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" Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
jasonconway Posted April 13, 2021 Author Share Posted April 13, 2021 Hi tuanphan, I can see that the first % moves the image left or right but the second % isn't doing anything. Would this be down to the actual images height? Jason. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.