taylahroberts1 Posted December 16, 2022 Posted December 16, 2022 Hey friends! 🙂 What is the best way to add a slideshow to the homepage opening? I need it to be the first thing you see when you go to the site. Full bleed and for it to also be the background for the header (navigation + logo etc). I would provide the URL, but I've literally only started it today so it's just the template (Lusaka) Thank you in advance.
Ziggy Posted December 16, 2022 Posted December 16, 2022 If you add a gallery section at the top of the homepage and height set to L, that should get you what you want. You'll also want to set the header style to dynamic. Slideshow: Full - A full-bleed slideshow that displays one image at a time Let me know if that was helpful and how you get on. Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com Hire me on Upwork! 📈 SEO Space (Referral link) Ⓜ️ Will Myers' Plugins & Tutorials (Referral link) 🔌 Ghost Squarespace Plugins (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee?
taylahroberts1 Posted December 16, 2022 Author Posted December 16, 2022 Hey! Thanks for your reply. Unfortunately this isn't working 😞 It will only bleed onto the navigation + logo (even with it set to dynamic) if i add a background image to that gallery section, see attached for more explanation. Any other ideas?
Solution Ziggy Posted December 16, 2022 Solution Posted December 16, 2022 You just need this Custom CSS, replace the first bit with the section ID from your website: section[data-section-id="639cd4110c46e15d382e602a"] { padding-top:0px !important; } Find the section ID like this: https://squarefortytwo.com/squarespace-guides/find-an-id-in-squarespace-71 taylahroberts1, Mannen_i_hatten, Henner and 2 others 5 Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com Hire me on Upwork! 📈 SEO Space (Referral link) Ⓜ️ Will Myers' Plugins & Tutorials (Referral link) 🔌 Ghost Squarespace Plugins (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee?
taylahroberts1 Posted December 16, 2022 Author Posted December 16, 2022 This worked perfectly! Thank you!!! Ziggy 1
Ziggy Posted December 16, 2022 Posted December 16, 2022 Fantastic! Thanks for marking my post as the solution, if you can give a thumbs up too that would be brilliant! taylahroberts1 and Mannen_i_hatten 2 Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com Hire me on Upwork! 📈 SEO Space (Referral link) Ⓜ️ Will Myers' Plugins & Tutorials (Referral link) 🔌 Ghost Squarespace Plugins (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee?
Isaiahshomeservices Posted April 29, 2023 Posted April 29, 2023 How exactly do you do this? I am having the same issue and am not familiar with coding or anything:)
tuanphan Posted May 1, 2023 Posted May 1, 2023 On 4/29/2023 at 9:18 PM, Isaiahshomeservices said: How exactly do you do this? I am having the same issue and am not familiar with coding or anything:) If you share link to your site, we can check easier 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!)
Mannen_i_hatten Posted April 22 Posted April 22 Great solution, thanks! But let's say I want a nice centered headline that floats in the slideshow, what CSS does that require? See attached screenshot for desired result. (I think all of the above works except the title.)
Ziggy Posted April 22 Posted April 22 3 hours ago, Mannen_i_hatten said: Great solution, thanks! But let's say I want a nice centered headline that floats in the slideshow, what CSS does that require? See attached screenshot for desired result. (I think all of the above works except the title.) Can you share your website URL and this page? Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com Hire me on Upwork! 📈 SEO Space (Referral link) Ⓜ️ Will Myers' Plugins & Tutorials (Referral link) 🔌 Ghost Squarespace Plugins (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee?
Mannen_i_hatten Posted April 22 Posted April 22 (edited) Yes I can give you all a short window in time, like a day or so, on this password protected site (without the slider): kaptensgarden.squarespace.com Password: Sqsp9867 The idea is to change the top section slider on the initial page – for which I use a parallax, (guess I have to ditch that going with a slider solution). The CSS code I have been experimenting with so far to get this to work is the following, but I can't get the typography to work properly because I have not been able to get it responsive due to lack of knowledge and research, see also my comment in code: section[data-section-id="662651f55d674b51fcd36d91"] { padding-top: 0px !important; position: relative; height: 100%; } [data-section-id="662651f55d674b51fcd36d91"] .gallery-fullscreen-slideshow:before { content: "Drömkök för livet"; display: block; text-align: center; width: 100%; position: absolute; top: 50%; left: 0; z-index: 10; font-family: inherit; font-size: 78px; /* Here I also can use the variable for the H1, but then it gets too small */ font-weight: var(--h1-font-weight); color: var(--h1-color); } Edited April 22 by Mannen_i_hatten
Ziggy Posted April 23 Posted April 23 12 hours ago, Mannen_i_hatten said: Yes I can give you all a short window in time, like a day or so, on this password protected site (without the slider): I don't see the slider. I can't offer much if I can't see the problem. Alternatively this plugin is good and would allow you to use parallax on the sections: https://www.will-myers.com/slider-pro-demo Mannen_i_hatten 1 Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com Hire me on Upwork! 📈 SEO Space (Referral link) Ⓜ️ Will Myers' Plugins & Tutorials (Referral link) 🔌 Ghost Squarespace Plugins (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee?
Mannen_i_hatten Posted April 23 Posted April 23 Sorry I was unclear, should have said I temporarily removed the slider so as not to confuse the customer, just wanted to show you how I wanted it to look. Now I have reinstalled the code again in case you want to take a look. Same URL, same password. And I think I got it working now, found some CSS-code to be able to make the font responsive for different screen sizes. Otherwise, thanks @Ziggy for the link to Will Myers plug-in, he has good stuff. I will check later if it fully solves my problem, looks promising. I I'll need it. Maybe it is better to use plug-ins that are maintained and updated? Anyhow: here is the code for how I finally solved it with my own CSS, but I'm always afraid when implementing that I'm doing something that will cause trouble in the future. Feel free to comment if you spot any bad coding. section[data-section-id="XXXXX"] section[data-section-id="XXXXX"] { padding-top: 0px !important; position: relative; height: 100%; } [data-section-id="XXXXX"] .gallery-fullscreen-slideshow:before { content: "The Headline Of Your Choice"; display: block; text-align: center; width: 100%; position: absolute; top: 50%; left: 0; z-index: 10; /* Default H1 styles, override as needed */ font-family: inherit; font-size: var(--h1-font-size); font-weight: var(--h1-font-weight); color: var(--h1-color); /* Responsive Typography Adjustments */ /* Large devices (desktops, 992px and up) */ @media (min-width: 992px) { font-size: 78px; /* Larger size for desktop */ } /* Medium devices (tablets, 768px and up) */ @media (min-width: 768px) and (max-width: 991px) { font-size: 68px; /* Moderate size for tablets */ } /* Small devices (landscape phones, 576px and up) */ @media (min-width: 576px) and (max-width: 767px) { font-size: 58px; /* Smaller size for landscape phones */ } /* Extra small devices (phones, less than 576px) */ @media (max-width: 575px) { font-size: 48px; /* Smallest size for small phones */ } }
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment