Jump to content

Overlapping blacks and transparency

Recommended Posts

Site URL: https://meletius-roasters.squarespace.com/

Hi, I would really appreciate some help / advise with a site I'm creating. The front home page shows an animation on a coffee roaster with two buttons 'supply' and 'retail'. What I am attempting to do is bring the buttons closer to animation with this code: 

section[data-section-id="62400183b21e052e9a6af5fd"] {top: -200px;}

This works however the section background is white when it need to be transparent so it doesn't block the animation above it. 

It currently looks like this: 

image.thumb.png.af85669782a240966483083fb5f7cd3e.png

Is there a way to make the background transparent? 

Thanks in advance for any help!

Site password: Password1

Link to comment
  • Replies 4
  • Views 321
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

4 hours ago, El1z4b3th said:

Site URL: https://meletius-roasters.squarespace.com/

Hi, I would really appreciate some help / advise with a site I'm creating. The front home page shows an animation on a coffee roaster with two buttons 'supply' and 'retail'. What I am attempting to do is bring the buttons closer to animation with this code: 

section[data-section-id="62400183b21e052e9a6af5fd"] {top: -200px;}

This works however the section background is white when it need to be transparent so it doesn't block the animation above it. 

It currently looks like this: 

image.thumb.png.af85669782a240966483083fb5f7cd3e.png

Is there a way to make the background transparent? 

Thanks in advance for any help!

Site password: Password1

Remove your code and add the following one

section[data-section-id="62400183b21e052e9a6af5fd"] {
  padding-top: 0 !important;
}

Let me know how it works on your site

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - Lightbox captions only mode)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 No-code customisations for Squarespace
🚀 Learn how to rank new pages on Google in 48 hours!

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

My testing

image.thumb.png.034441cc58ba289dd3a2dffb1bffc414.png

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - Lightbox captions only mode)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 No-code customisations for Squarespace
🚀 Learn how to rank new pages on Google in 48 hours!

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
On 4/19/2022 at 4:13 PM, El1z4b3th said:

Thanks hat worked! 

I wondered if there is any way now to get rid of the big white space underneath the buttons so there's no option to scroll down? 

Thanks so much for your help.

Try adding to Design > Custom CSS

@media screen and (min-width:768px) {
body.homepage {
	overflow: hidden;
}}

 

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

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.