Soona Posted July 8 Posted July 8 Hello there! On my Homepage -> hero section, I'm trying to add a .png image on top of my banner image, which has a parallax effect. I used the following code (beneath) so the .png image can go beneath the header and stretch to the full height of the section. The problem is, it works on the Squarespace preview mode, but the .png image does not appear on the online website. (check on the website link) I don't know if this can help, but changing the section ID by '.hero-section.image-block' fix the problem of the .png appearing, but the code isn't applying anymore. Can you help? Thank you so much Here is a screenshot of the preview mode : #block-yui_3_17_2_1_1720428605502_4457 .image-block { position: absolute; top: -100px ; bottom: 0; width: 100% ; height: 100vh ; object-fit: cover; } .hero-section .header { position: relative; z-index: 1 ; }
Soona Posted July 8 Author Posted July 8 Oh so sorry, I though I did ! Here you go : https://goldensoulholistics.com/home-new
tuanphan Posted July 13 Posted July 13 Can you send png image? 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!)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment