Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Changing h1 font not working…

  • This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #249144

    On this page I’m trying to change the font for “Jeff Singer” on my Squarespace site:
    http://jeffsingerphotography.com/new-cover-page-1

    I believe this text is the h1 tag. So in my custom CSS I’ve put:

    h1 {
    font-family:’Helvetica W01 Ultra Cm’!important;
    }

    But for some reason the font is not changing.

    Any help on why would be appreciated.

    Jeff

    #249148
    Paulie_D
    Member

    You’ll probably need to be more specific.

    That selector is

    [data-slice-type="heading"]:not([data-compound-type]) h1 {}
    
    #249149

    Thanks for the replay… sadly, my CSS knowledge is basically what I can figure out as I go along so I’m not sure what you’re saying. Are you saying I should put:

    [data-slice-type=”heading”]:not([data-compound-type]) h1 {
    font-family:’Helvetica W01 Ultra Cm’!important;
    }

    Because I tried that and it still wasn’t working.

    Thanks!

    #249151
    Paulie_D
    Member

    Provided you have linked in the font correctly using @font-face…it should work.

    #249160

    I’m not entirely sure what you mean by that. I am using fonts.com for font hosting. I’ve put their code into my custom html “header”. The font I want to use here is the same font I am using in other places with custom custom css code. So I know the font works. This is the only place it’s not working.

    Thanks!

    #249163
    Paulie_D
    Member

    Well it seems to have changed fonts now to nimbus-sans-condensed;…so something is working.

Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘CSS’ is closed to new topics and replies.