sqsnewbie Posted July 25, 2021 Posted July 25, 2021 I was looking at another site made on squarespace recently (amandafarias.nyc), and was wondering how to achieve horizontal gradient overlays over an image and add text on top. I do think that these changes (on that site specifically) were made using CSS because the gradient modified as the page width changed. I was wondering if anyone knew how to code for something like this? thank you.
tuanphan Posted July 25, 2021 Posted July 25, 2021 3 hours ago, sqsnewbie said: I was looking at another site made on squarespace recently (amandafarias.nyc), and was wondering how to achieve horizontal gradient overlays over an image and add text on top. I do think that these changes (on that site specifically) were made using CSS because the gradient modified as the page width changed. I was wondering if anyone knew how to code for something like this? thank you. Hi. Do you have an example/or mockup? 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!)
sqsnewbie Posted July 26, 2021 Author Posted July 26, 2021 hi tuanphan, here's an example of what i'm trying to achieve.
tuanphan Posted July 27, 2021 Posted July 27, 2021 On 7/26/2021 at 1:21 PM, sqsnewbie said: hi tuanphan, here's an example of what i'm trying to achieve. Can you share link to page in screenshot? 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!)
tuanphan Posted July 30, 2021 Posted July 30, 2021 23 hours ago, sqsnewbie said: amandafarias.nyc (homepage, scroll down) Okay. Can you share link to your site/Which section you want to add gradient? 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!)
DavidCliff Posted December 15, 2021 Posted December 15, 2021 The gradient is applied to the image itself - probably with photoshop. See it here:
Izza Posted September 5, 2023 Posted September 5, 2023 Hi @tuanphan is there a way to accomplish this? I would like to add a gradient over the section background image from left to right (black 60% opacty to transparent) on the 3rd section title "22,400 people served each month in our community." https://fbcenla.squarespace.com/ password: design Thanks for your help!
tuanphan Posted September 7, 2023 Posted September 7, 2023 On 9/5/2023 at 12:21 PM, izza.weihaas said: Hi @tuanphan is there a way to accomplish this? I would like to add a gradient over the section background image from left to right (black 60% opacty to transparent) on the 3rd section title "22,400 people served each month in our community." https://fbcenla.squarespace.com/ password: design Thanks for your help! I see you figured it out with this CSS code? section[data-section-id="64f69374633e4f108dedc366"] .section-background-overlay, section[data-section-id="64f693d4ae069407cbd67437"] .section-background-overlay { opacity: .75 !important; background: linear-gradient(to right,#000,transparent); } Lesum 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!)
Izza Posted September 11, 2023 Posted September 11, 2023 @tuanphan Yes, I did figure it out-- thank you!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment