Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Portfolio hover - display title before and on hover


simon.cox

Question

Site URL: https://castleenvironmental.squarespace.com/services

Hi

I am working with a portfolio collection and I want to be able to display text over the portfolio before hover and also on hover. Currently squarespace makes you choose one or the other as standard. 

I also want to apply a green overlay on hover which I have been able to do by using this code: 

.grid-item .grid-image-inner-wrapper {
    position: relative;
}

.grid-item .grid-image-inner-wrapper:after {
    content: "";
    transition: opacity 0.5s;
    opacity: 0;
}

.grid-item:hover .grid-image-inner-wrapper:after {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    content: "";
    background: #175E01;
    opacity: 0.7;
}

.no-touch .portfolio-grid-basic .grid-item:hover .grid-image {
    opacity: 1;
}

However I want to display the font on the hover as well. I have targetted all the classes I can see to work along side this and am having no luck.

Password to site is : Standout2021

 

Thanks

 

Rachael

Link to post
  • Answers 2
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

2 answers to this question

Recommended Posts

  • 0

Also, do you need to fix these?

Site URL: https://castleenvironmental.squarespace.com/

1. (Mobile-Header) When scroll down, add a space on top of header?

castleenvironmental.squarespace.com-01-m

2. (Mobile-Footer) Make footer in 2 columns?

castleenvironmental.squarespace.com-02-m

3. (Tablet-Homepage) Center vertical image-text?

castleenvironmental.squarespace.com-03-m

4. (Tablet-Homepage) Remove white bar on right of screen

castleenvironmental.squarespace.com-04-m

5. (Tablet-About) Similar above

castleenvironmental.squarespace.com-05-m

6. (News) You haven’t changed SEO Title so the browser tab name still shows “Blog 3”

7. (Tablet-Waste we process) Increase text width a bit?

castleenvironmental.squarespace.com-06-m

8. (Tablet-Duty of Care) Remove top/bottom huge spacing?

castleenvironmental.squarespace.com-07-m

9. (Mobile-Duty of Care) Change to 2 logos/row?

castleenvironmental.squarespace.com-08-m

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...