Jump to content

What is the Custom CSS type selector for Miscellaneous Fonts in 7.1?

Recommended Posts

  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

2 hours ago, caroline.leonard said:

Hi,

I'm looking to change the font of all the Miscellaneous font instances squarespace uses.

I've changed h1, h2, h3 h4, etc but what is the type selector for Misc fonts? Thanks,

/*Change fonts to Company Font*/


h1,h2,h3,h4  {
font-family: omnes-pro, sans-serif !important;
font-weight: 400;
 font-style: normal;

}
 

Kindly share your site with the protected password to check your issue together

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
  • 6 months later...
11 hours ago, Chrystele said:

@bangank36: What is the answer ? what is the selector to target a miscellaneous font or what can we do if we want this miscellaneous font to be smaller on mobile?

 

You can use this

*:not(h1):not(h2):not(h3):not(h4)  {
  font-family: omnes-pro, sans-serif !important;
  font-weight: 400;
   font-style: normal;
}

 

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

@tuanphan. Thank you so much for the help. I tried the code but it targeted too the text using the paragraph font not only the miscellaneous/monospace font. I try to change the size of the miscellaneous text on mobile as it is too big compared to the rest of the text. I added 'font-size' and a value but it did not change the size of the miscellaneous font on mobile and the button-size using this font.

screenshot_1283.png

Edited by Chrystele
forgot screenshot
Link to comment
On 5/20/2022 at 7:47 AM, Chrystele said:

@tuanphan. Thank you so much for the help. I tried the code but it targeted too the text using the paragraph font not only the miscellaneous/monospace font. I try to change the size of the miscellaneous text on mobile as it is too big compared to the rest of the text. I added 'font-size' and a value but it did not change the size of the miscellaneous font on mobile and the button-size using this font.

screenshot_1283.png

the miscellaneous text

What text belongs to this? We can give code easier

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

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.