Emmapartridge Posted November 17, 2022 Share Posted November 17, 2022 Site URL: http://bjornsorensen.com Wizards please help :) I've tried numerous code and have given up! See the portfolio section. I want the overlay text as 2 separate lines. First line with bold weight 30px and second line with regular weight 20px. I also want a black overlay? How can I do this please? Link to comment
Beyondspace Posted November 18, 2022 Share Posted November 18, 2022 16 hours ago, Emmapartridge said: Site URL: http://bjornsorensen.com Wizards please help 🙂 I've tried numerous code and have given up! See the portfolio section. I want the overlay text as 2 separate lines. First line with bold weight 30px and second line with regular weight 20px. I also want a black overlay? How can I do this please? Try adding to Home > Design > Custom Css section[data-section-id="607295ad0d6e7a606f92f585"] .portfolio-grid-overlay .portfolio-title:first-line { font-weight: bold; font-size: 30px; } section[data-section-id="607295ad0d6e7a606f92f585"] .portfolio-grid-overlay .portfolio-title { font-weight: 300; font-size: 20px; } Support me by pressing 👍 or marking as solution if this useful for you 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
Beyondspace Posted November 18, 2022 Share Posted November 18, 2022 My testing 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
Emmapartridge Posted November 18, 2022 Author Share Posted November 18, 2022 7 hours ago, Beyondspace said: section[data-section-id="607295ad0d6e7a606f92f585"] .portfolio-grid-overlay .portfolio-title:first-line { font-weight: bold; font-size: 30px; } section[data-section-id="607295ad0d6e7a606f92f585"] .portfolio-grid-overlay .portfolio-title { font-weight: 300; font-size: 20px; } Link to comment
Emmapartridge Posted November 18, 2022 Author Share Posted November 18, 2022 Hi Thank you but adding this code made no difference. Link to comment
Beyondspace Posted November 18, 2022 Share Posted November 18, 2022 2 hours ago, Emmapartridge said: Hi Thank you but adding this code made no difference. Can you show some screenshot where you put my code? 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
Emmapartridge Posted November 19, 2022 Author Share Posted November 19, 2022 (edited) Here you go, thanks Edited November 19, 2022 by Emmapartridge Wrong attachment Link to comment
Beyondspace Posted November 20, 2022 Share Posted November 20, 2022 The code I gave above is applied for only this gallery Do you need on another gallery? 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
Emmapartridge Posted November 20, 2022 Author Share Posted November 20, 2022 Hi, I want all portfolio images to be on two lines just like the example you have attached. The code isn't working for any portfolio nugget? Not sure what you mean by gallery, it's a portfolio section. Thanks Link to comment
Emmapartridge Posted November 20, 2022 Author Share Posted November 20, 2022 Do I need to add the title of the text within the code? I'm obviously adding it incorrectly. Thanks Link to comment
Beyondspace Posted November 20, 2022 Share Posted November 20, 2022 I can not see the my code on your site. I wonder if you remove it or not. You can try the following code to apply for all portfolios .portfolio-grid-overlay .portfolio-title:first-line { font-weight: bold; font-size: 30px; } .portfolio-grid-overlay .portfolio-title { font-weight: 300; font-size: 20px; } 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
Emmapartridge Posted November 20, 2022 Author Share Posted November 20, 2022 Hi it's defiantly there in the CSS, I have removed the password so you can take a better look. Thank you really appreciate you on this Link to comment
Emmapartridge Posted November 20, 2022 Author Share Posted November 20, 2022 https://www.emmapartridge.co.uk/projects Link to comment
Beyondspace Posted November 20, 2022 Share Posted November 20, 2022 4 minutes ago, Emmapartridge said: https://www.emmapartridge.co.uk/projects I can only see the title on just one line. Do I miss anything? 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
Emmapartridge Posted November 20, 2022 Author Share Posted November 20, 2022 Hello, yes that is my request please. I want the title on two lines, all titles on two lines Link to comment
Emmapartridge Posted November 20, 2022 Author Share Posted November 20, 2022 I have found this online, a HTML injection - also doesn't work <!--- Wrap gallery titles on two lines --------------------------> <!--- Copyright Soundfocus Digital [sf.digital] -----------------> <!--- Use freely in your code injection. Do NOT re-publish ------> <script> window.Squarespace.onInitialize(Y, () => { var title = document.querySelectorAll('.image-slide-title'); for (var sf = 0; sf < title.length; ++sf) { var item = title[sf]; item.innerHTML = item.innerText.replace(/#/g, '<br>'); } }); </script> Link to comment
Emmapartridge Posted November 20, 2022 Author Share Posted November 20, 2022 I don't understand why this also doesn't help https://sf.digital/squarespace-solutions/how-can-i-add-line-breaks-to-gallery-grid-titles Link to comment
Emmapartridge Posted November 20, 2022 Author Share Posted November 20, 2022 this looks like it might work but I need to know what goes in the Divs? Name of the project <span>Logotyp</span> .portfolio-text h3 span { display: block !important; color: #8f8f8f; font-family: Poppins !important; font-size: 18px !important; font-weight: 100 !important; } Link to comment
Emmapartridge Posted November 21, 2022 Author Share Posted November 21, 2022 Hello, are you still able to help? Link to comment
tuanphan Posted November 23, 2022 Share Posted November 23, 2022 On 11/22/2022 at 12:51 AM, Emmapartridge said: Hello, are you still able to help? Try #2 code 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment