Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Exclude buttons from custom font with :not() propret not working


Posted (edited)

Site URL: https://gregorylassale.com

I am using a custom font injected in my cover page header but want to exclude buttons. I tried

/* Apply Custom Font to Entire Site Start */ 
@font-face {
	font-family: 'Montserrat Light';
	src: url('https://static1.squarespace.com/static/5aeb7d827e3c3a2bedb60363/t/608f5cfc8e8bd04a9e4e399b/1620008188969/Montserrat-Light.ttf');
/* target all elements except buttons */
:not(.sqs-slice-buttons-content) {
	font-family: 'Montserrat Light' !important;
// --------------- End ---------------

but it's not working.  What is wrong in my code?

Thanks in advance.

Edited by GregLassale
Link to comment
  • Answers 4
  • Created
  • Last Reply

Top Posters For This Question

4 answers to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

  • Create New...