Forums

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

Home Forums CSS Why would a font NOT respond to sizing attempts?

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #239967
    dhawkinson
    Participant

    I am using a font from a new third party. To the best of my understanding I have followed the interface instructions to a Tee:

    It seems to have loaded properly. If I play with font-style, it responds as expected. However, no matter whether I increase or decrease the rem factor, there is no change in the font-size.

    This is the HTML

    <link href='http://fast.fonts.net/cssapi/7950b455-f65a-45e0-a8e8-cd6fb05cf854.css' rel='stylesheet' type='text/css'/>
    

    This is the CSS:

    h1 {
         font-family:'Luminari W01';
         font-weight:400;
         font-style: bold;
         color: #F44336;
         text-decoration:none;
         font-size: 1.5rem;
         margin: 0;
    }
    
    #239968
    Paulie_D
    Moderator

    Cannot reproduce…perhaps you have a specificity or cascade issue?

    http://codepen.io/Paulie-D/pen/YqxBgN

    #240296
    dhawkinson
    Participant

    I think you may be right Paulie_D. I did poke around quite a while and found and article. I had not realized rems worked off the root (as differentiated from ems. My sizing was not done in the HTML selector.

    But I also reworked some code. Seems to be OK now. Thanks for the response.

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