Grace_Connolly Posted May 22, 2021 Share Posted May 22, 2021 (edited) Site URL: https://cow-koi-sa4z.squarespace.com Hello, I am wanting to use css to put a block background colour on each of my projects on my homepage. I have edited the main images already with added css to have image appear on hover. However I would just like a block colour behind the title when there is no hover. I would also like them to all be different colours but I think all share the same class so not sure if it's possible to get them all different. Any help would be greatly appreciated!!! Edited May 22, 2021 by Grace_Connolly Beyondspace 1 Link to comment
Beyondspace Posted May 22, 2021 Share Posted May 22, 2021 2 hours ago, Grace_Connolly said: Site URL: https://cow-koi-sa4z.squarespace.com Hello, I am wanting to use css to put a block background colour on each of my projects on my homepage. I have edited the main images already with added css to have image appear on hover. However I would just like a block colour behind the title when there is no hover. I would also like them to all be different colours but I think all share the same class so not sure if it's possible to get them all different. Any help would be greatly appreciated!!! Target the block using it's href, here is sample, you can do the same for later blocks #gridThumbs [href*="/work/liminalwellbeing"] { background: #00bcd4; } tuanphan and Grace_Connolly 2 BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date format) 💫 Animated Buttons (Referral URL) 🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations) 🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget 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
Grace_Connolly Posted May 22, 2021 Author Share Posted May 22, 2021 Thank you so much @bangank36! Such a simple solution. Very helpful 🙂 tuanphan 1 Link to comment
Grace_Connolly Posted May 24, 2021 Author Share Posted May 24, 2021 Hi again @bangank36, I was hoping you could help with one more thing. Now that I have changed the background of the respected menus, their 'previous' and 'next' buttons at the bottom of their pages now have a background colour on them (except for the liminal wellbeing one, I'm not sure why). Is it possible to remove from the text but leave the background on the menu thumbnails? Link to comment
Beyondspace Posted May 24, 2021 Share Posted May 24, 2021 3 hours ago, Grace_Connolly said: Hi again @bangank36, I was hoping you could help with one more thing. Now that I have changed the background of the respected menus, their 'previous' and 'next' buttons at the bottom of their pages now have a background colour on them (except for the liminal wellbeing one, I'm not sure why). Is it possible to remove from the text but leave the background on the menu thumbnails? Should prepend this string in the start, it isoloate the link in grid only #gridThumbs BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date format) 💫 Animated Buttons (Referral URL) 🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations) 🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget 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
tuanphan Posted June 4, 2021 Share Posted June 4, 2021 On 5/22/2021 at 11:36 AM, Grace_Connolly said: Site URL: https://cow-koi-sa4z.squarespace.com Hello, I am wanting to use css to put a block background colour on each of my projects on my homepage. I have edited the main images already with added css to have image appear on hover. However I would just like a block colour behind the title when there is no hover. I would also like them to all be different colours but I think all share the same class so not sure if it's possible to get them all different. Any help would be greatly appreciated!!! Do you need fix these issues? Site URL: https://cow-koi-sa4z.squarespace.com/ 1. (Mobile-Homepage) resize this section? 2. (Tablet) Resize section + fix text? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care 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