Jump to content

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

Recommended Posts

  • Replies 9
  • Views 1.7k
  • 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

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
  • 1 year later...

Hi, I'm having this same issue. My Miscellaneous font looks fine in desktop view but in mobile view it looks larger. Making the overall font size smaller in the styles panel to correct the mobile view leaves it too small to read in desktop view. I'm looking to target the font size for my miscellaneous font only in mobile view, I haven't found much luck finding the specific CSS to target this. Hoping you can help, here are images of the Desktop and mobile view (the Misc font is the tags below the button "South Texas | Lake Casa Blanca International State Park...").

 

Mobile Misc Font Example (Wrong size ratios).png

Desktop Misc Font example (Correct Size ratios).png

Edited by ncast21
Adding context
Link to comment
On 4/25/2024 at 3:31 AM, ncast21 said:

Hi, I'm having this same issue. My Miscellaneous font looks fine in desktop view but in mobile view it looks larger. Making the overall font size smaller in the styles panel to correct the mobile view leaves it too small to read in desktop view. I'm looking to target the font size for my miscellaneous font only in mobile view, I haven't found much luck finding the specific CSS to target this. Hoping you can help, here are images of the Desktop and mobile view (the Misc font is the tags below the button "South Texas | Lake Casa Blanca International State Park...").

 

Mobile Misc Font Example (Wrong size ratios).png

Desktop Misc Font example (Correct Size ratios).png

Can you share link to this page? We can check easier

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 5/4/2024 at 6:34 AM, ncast21 said:

You can use this to Website > Website Tools > Custom CSS.

a.blog-item-tag {
    font-size: 10px !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.