Jump to content

Changing Monospace in CSS with custom font?

Recommended Posts

Hello! I am trying to change the 'Monospace' font with my custom font. I've been able to change all headliners and paragraphs without an issue. But when i use:

pre code {
    font-family: 'Ninties Headliner' !important;
}

It doesn't not change anything. Has the 'pre code' syntax been changed? thanks!

Link to comment
  • Replies 3
  • Views 1.3k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

On 2/28/2024 at 1:23 AM, MattyFerg11 said:

Hi! Thank you very much

The website is [https://www.stmholdings.co/]... the copy and design is not done! But On the landing mapge I'd love to make the 'Ventures' + 'Holdings' + Site Header our custom font. If you click into Ventures you can see that I managed to change the Headers and Paragraph fonts.

Thanks again!

You can use some CSS code like this

span.portfolio-hover-item-content {
    font-family: 'circular' !important;
}

 

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

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.