AnitaMarie Posted May 14 Share Posted May 14 Hi! I'm trying to design a Services Gallery with a Title above each image and a Learn More button below each image. See the attached image. I can't find a way to separate the two in the edit content or section windows. Does anyone know how to make this possible, or do I need some custom code? I'd rather use the services block than build out the gallery with separate elements. The client will eventually need to manage the website themselves, and it will be easier to keep everything aligned if we use the services block. Any help would be appreciated. The site is under development, so I don't have a link to share at this time. Thanks in advance, Anita Beyondspace 1 Link to comment
Beyondspace Posted May 14 Share Posted May 14 28 minutes ago, AnitaMarie said: Hi! I'm trying to design a Services Gallery with a Title above each image and a Learn More button below each image. See the attached image. I can't find a way to separate the two in the edit content or section windows. Does anyone know how to make this possible, or do I need some custom code? I'd rather use the services block than build out the gallery with separate elements. The client will eventually need to manage the website themselves, and it will be easier to keep everything aligned if we use the services block. Any help would be appreciated. The site is under development, so I don't have a link to share at this time. Thanks in advance, Anita Can you share your URL so I can take a look? BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - Lightbox captions only mode) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace 🚀 Learn how to rank new pages on Google in 48 hours! 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
AnitaMarie Posted May 14 Author Share Posted May 14 Hi! Thanks for the response. 😃 We haven't launched the site yet, so I don't have a URL to share. Here's a screengrab of the services gallery we are working on. We want to move the service title above the picture but can't find a way to do this in the services gallery block. Link to comment
tuanphan Posted May 17 Share Posted May 17 On 5/15/2024 at 12:14 AM, AnitaMarie said: Hi! Thanks for the response. 😃 We haven't launched the site yet, so I don't have a URL to share. Here's a screengrab of the services gallery we are working on. We want to move the service title above the picture but can't find a way to do this in the services gallery block. You can follow these steps. If it doesn't work, you can share url, we can check easier. (1) First, you install this free tool to find Service Block Section ID https://chromewebstore.google.com/detail/squarespace-id-finder/igjamfnifnkmecjidfbdipieoaeghcff In my example, we will have section[data-section-id="6615fd311e011753424b1958"] (2) Use this code to Website > Website Tools > Code Injection > Footer. Replace example ID with your ID. <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.0/jquery.min.js"></script> <script> $(document).ready(function(){ $('section[data-section-id="6615fd311e011753424b1958"] li.list-item').each(function(){ var cr = $(this).find('.list-item-media'); var cr2 = $(this).find('h2.list-item-content__title'); $(cr2).insertBefore(cr); }); }); </script> <style> .list-item-content__description { margin-top: 0px !important; } .list-item-media { margin-top: 10% !important; } </style> 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
AnitaMarie Posted May 28 Author Share Posted May 28 Thanks very much! I'll give this a try later this week. 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