brittco Posted October 19, 2022 Posted October 19, 2022 (edited) Hi, Does anyone know how to add buttons under portfolio thumbnail images? I'd like to add buttons under each image that says "View More" Edited October 19, 2022 by brittco
Beyondspace Posted October 19, 2022 Posted October 19, 2022 19 minutes ago, brittco said: Hi, Does anyone know how to add buttons under portfolio thumbnail images? I'd like to add buttons under each image that says "View More" I think we can use the pseudo element css code to work around with button style. Can you share your site with protected password so I can take a look? BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Pinch/Zoom images, videos - PDFs Lightbox - ...) </> 🗓️ Delivery Date Picker (Date picker form field) Gallery block 7.1 workaround </> 🤖 Ask me anything
brittco Posted October 19, 2022 Author Posted October 19, 2022 No problem. The site is https://www.tamisofia.com/services There is no password needed.
Beyondspace Posted October 19, 2022 Posted October 19, 2022 12 minutes ago, brittco said: No problem. The site is https://www.tamisofia.com/services There is no password needed. Try the following code in Home > Design > Custom Css .portfolio-grid-basic .grid-image:after { content: 'View more'; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); background: rgba(255, 194, 194, 0.5); display: block; padding: 20px 20px; } Let me know how it works on your site Support me by pressing 👍 if this useful for you BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Pinch/Zoom images, videos - PDFs Lightbox - ...) </> 🗓️ Delivery Date Picker (Date picker form field) Gallery block 7.1 workaround </> 🤖 Ask me anything
Beyondspace Posted October 19, 2022 Posted October 19, 2022 My testing BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Pinch/Zoom images, videos - PDFs Lightbox - ...) </> 🗓️ Delivery Date Picker (Date picker form field) Gallery block 7.1 workaround </> 🤖 Ask me anything
brittco Posted October 19, 2022 Author Posted October 19, 2022 Thanks! Unfortunately, the text on the buttons is overlapping.
brittco Posted October 21, 2022 Author Posted October 21, 2022 On 10/19/2022 at 11:01 AM, brittco said: Thanks! Unfortunately, the text on the buttons is overlapping. Also this code doesn't work for the images on the bottom of the page.
tuanphan Posted October 23, 2022 Posted October 23, 2022 On 10/21/2022 at 8:23 PM, brittco said: Also this code doesn't work for the images on the bottom of the page. Use this new code .portfolio-grid-basic .grid-image:after { content: 'View more'; position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); background: rgba(255, 194, 194, 0.5); display: block; padding: 20px 20px; } 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!)
brittco Posted October 24, 2022 Author Posted October 24, 2022 On 10/22/2022 at 10:09 PM, tuanphan said: Use this new code .portfolio-grid-basic .grid-image:after { content: 'View more'; position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); background: rgba(255, 194, 194, 0.5); display: block; padding: 20px 20px; } Thanks but it's still not working. The text is still overlapping and it's not showing up on the bottom images ...
tuanphan Posted October 27, 2022 Posted October 27, 2022 On 10/24/2022 at 6:48 PM, brittco said: Thanks but it's still not working. The text is still overlapping and it's not showing up on the bottom images ... Show bottom You mean show at bottom of image (still overlap image) OR show under 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