• Resolved GeeDave

    (@geedave)


    Hi Ryan—

    Thanks for the great plugin–it seems to do exactly what I need!

    One question, though. I have the following in the Custom CSS box in my Simple Banner settings:

    font-family: "Raleway", sans-serif;
    font-size: 14px;
    font-size: 1.4rem;
    font-weight: 200;
    letter-spacing: 0.025em;

    The font and size are changing fine, but no matter what I put in that font-weight value, the banner seems to stay just plain “bold.” I know just enough CSS to be dangerous, so I’m sure I’m missing something obvious. Any suggestions on how I can get a 200 weight in the banner text?

    Thanks!

    David

    • This topic was modified 5 years, 7 months ago by GeeDave.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author rpetersen29

    (@rpetersen29)

    try using font-weight: 200 !important;. the !important tag should make this css rule take precedence over existing rules.

    Thread Starter GeeDave

    (@geedave)

    Thanks for the quick reply!

    Yeah, !important was the first thing I thought to try. (And I tried it with various weight values just to be sure.) Doesn’t seem to make a difference…?

    Plugin Author rpetersen29

    (@rpetersen29)

    Looks to me like it works on your site. Since you are using a non default font, it could be that you aren’t loading the light font weight versions of the font on your site.

    Thread Starter GeeDave

    (@geedave)

    Hunh. Yeah, those same weights work fine in other styles elsewhere. :: shrug ::

    Well, it’s not the worst thing in the world if the banner text is a little bolder than I was thinking it should be. ??

    Thanks again for the quick replies! Great plugin!

    Plugin Author rpetersen29

    (@rpetersen29)

    No worries, please reach out if you have any other issues. As a last ditch effort, you can try using lighter instead of 300, https://htmldog.com/references/css/properties/font-weight/

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘CSS “font-weight” has no effect?’ is closed to new replies.