Jump to content

Different Fonts/Font Styles in single Portfolio Page Title

Recommended Posts

Site URL: https://nicobaumann.com/

Hey there! I'm trying to use different fonts or font styles in a single portfolio page title. I.e. "Facebook" and "Skate Nation Ghana" in the first row would use different fonts, or one part would be bold or italic while the other isn't. Is that possible?

Thank you!

Nico

Edited by NicoB
double website
Link to comment
  • Replies 6
  • Created
  • Last Reply

Top Posters In This Topic

22 minutes ago, NicoB said:

Site URL: https://nicobaumann.com/

Hey there! I'm trying to use different fonts or font styles in a single portfolio page title. I.e. "Facebook" and "Skate Nation Ghana" in the first row would use different fonts, or one part would be bold or italic while the other isn't. Is that possible?

Thank you!

Nico

Try 

#collection-62564707136c1779158d3090 .portfolio-hover-items-list > li:first-child span {
  color: red;
  font-family: Arial;
}

#collection-62564707136c1779158d3090 .portfolio-hover-items-list > li:nth-child(2) span {
  color: blue;
  font-family: tahoma;
}

Let me know how it works on your site

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

My testing

image.thumb.png.22957385d74ca5f599f26e7f2b111c81.png

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
On 4/23/2022 at 1:28 AM, NicoB said:

Hi, I'm politely bumping this thread back up to see if anyone has a solution for this problem.

Thank you in advance! 
Nico

Add to Design > Custom CSS

a.portfolio-hover-item[href="/work/facebook"] span:before {
    content: "FACEBOOK ";
    font-size: calc(~"(1.4 - 1) * 1.2vw + 1rem");
}
a.portfolio-hover-item[href="/work/facebook"] span:after {
    content: "skate nation ghana";
    color: yellow;
    font-size: 20px;
    font-size: calc(~"(1.4 - 1) * 1.2vw + 1rem");
}
a.portfolio-hover-item[href="/work/facebook"] span {
    font-size: 0;
}

 

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
  • 2 weeks later...

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.