Jump to content

Style hover on portfolio page

Go to solution Solved by tuanphan,

Recommended Posts

2 hours ago, maguisiffredi said:

Hi!

Does anyone know if it is possible to add a subtitle to the title that appears when you hover over a project on a portfolio page? 
I would like to get a result like this, where you haver a bigger title, and a smaller subtitle/ description. 

Thanks!!

840436283_Screenshot2022-04-09at22_46_51.png.f0dc2563d5a0dcfd2326a210d7c508e3.png

Can you share your site with site-wide password 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
  • Solution
11 hours ago, maguisiffredi said:

Yes! It's https://hawk-marigold-fj5c.squarespace.com/

Pass: portfolio2022

See #2 code

/* Add subtitle */
h3.portfolio-title:after {
    font-size: 20px;
    color: white;
    display: block;
}
a.grid-item[href="/work/sustainability"] h3:after {
    content: "subtitle 01";
}
a.grid-item[href="/work/colvin-characters"] h3:after {
    content: "subtitle 01";
}

 

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
On 4/11/2022 at 2:02 AM, tuanphan said:

See #2 code

/* Add subtitle */
h3.portfolio-title:after {
    font-size: 20px;
    color: white;
    display: block;
}
a.grid-item[href="/work/sustainability"] h3:after {
    content: "subtitle 01";
}
a.grid-item[href="/work/colvin-characters"] h3:after {
    content: "subtitle 01";
}

 

Works like a charm!! a million thanks!

Link to comment
  • 4 months later...
On 4/11/2022 at 2:02 AM, tuanphan said:

See #2 code

/* Add subtitle */
h3.portfolio-title:after {
    font-size: 20px;
    color: white;
    display: block;
}
a.grid-item[href="/work/sustainability"] h3:after {
    content: "subtitle 01";
}
a.grid-item[href="/work/colvin-characters"] h3:after {
    content: "subtitle 01";
}

 

Thank you so much! I was looking for this, I thought it was imposible 

Link to comment

Create an account or sign in to comment

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

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.