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?

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, 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

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
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.