Jump to content

Menu Font CSS problem

Recommended Posts

Site URL: https://fundacion42.org

Hi!
I am using a custom font named 'Space Grotesk'. I have succesfully uploaded this font by CSS code into the site, and it is working for headers, paragraphs and buttos. But I haven't been able to make it work for the navegation menu. I will paste the CSS code I am using:
 

@font-face {

    font-family: 'Space Grotesk';

       src: url('https://static1.squarespace.com/static/57bb1b5e59cc68374d95e818/t/6080799bbb54e72b94e23c28/1619032475894/SpaceGrotesk-VariableFont_wght.ttf');

  }

h1 {font-family: 'Space Grotesk';}
h2 {font-family: 'Space Grotesk';}
h3 {font-family: 'Space Grotesk';}
p {font-family: 'Space Grotesk';}


/* navigation */
.header-nav *, nav.header-menu-nav-list * {
    font-family: 'Space Grotesk';
}
/* button */
.sqs-block-button-element {
    font-family: 'Space Grotesk' !important;
}

I also tired this code for the navigation

/* navigation */
nav#mainNavigation span {
    font-family: 'Space Grotesk' !important;
}

If any of you have an idea to fix this, I would be very grateful 

:D

Link to comment
  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

19 hours ago, bshevlin said:

I'm having the same issue. I tried inputting the above code but it still isn't working for me... Has anyone else had success with this?

Can you share link to your site?

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
9 hours ago, AlishaK said:

Having the same issue, would love to hear how others have tackled this.

Can you share link to your site? We can help 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.