Viewing 13 replies - 1 through 13 (of 13 total)
  • martcol

    (@hotmale)

    .hero-title > span {
    color: blue;
    }

    ?

    Thread Starter lear11

    (@lear11)

    I’d like to change the font type, though, not the color…

    martcol

    (@hotmale)

    Then if your font is as you say it is and has successfully found it’s way to your site then add the font-family bit.

    martcol

    (@hotmale)

    Oh, and it looks like the first line of code needs to go in to your HTML not your CSS.

    Thread Starter lear11

    (@lear11)

    Like this?

    .hero-title > span {
    font-family: ‘ABeeZee’;
    font-size: 20px;
    }

    Thread Starter lear11

    (@lear11)

    what do you mean by first line of code? the import function?

    martcol

    (@hotmale)

    Oh, no, maybe I’m wrong and you were correct to put it in the style.css.

    And yes with the CSS rule.

    Thread Starter lear11

    (@lear11)

    I tried the above – it didn’t work either…

    martcol

    (@hotmale)

    I’m sure when I first clicked your link it was a different site.

    Anyhow, try:

    .hero-inner h1

    As the selector

    Thread Starter lear11

    (@lear11)

    Could you write the full statement, please, so I know I’m doing the right thing? Thanks

    martcol

    (@hotmale)

    .hero-inner h1 {
    font-family: 'ABeeZee';
    font-size: 20px;
    }
    wpfan1000

    (@wpfan1000)

    This is the html:

    <h1 class=”hero-title”>
    Present your web
    <span>in different ways</span>
    with Brooklyn!
    </h1>

    so the css would be:

    .hero-title {
    font-family: ‘ABeeZee’;
    font-size: 20px;
    }

    Try that if that does not work try

    .hero-title h1
    or

    h1.hero-title

    for the first line

    Of course you need to import this special font and if you are not doing that succesfully then any css wont help

    Maybe consider using a standard font which does not need to be imported, there are lots of them

    Thread Starter lear11

    (@lear11)

    I got it to work but only by modifying the parent theme. The child didn’t pick it up…
    This is what I used:

    .hero-title span {
    font-weight:normal;
    font-family: ‘AaaBeeZee’, “Helvetica Neue”, Helvetica, Arial, sans-serif;
    }

    Thanks for your help!

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Change font of hero-title in Brooklyn Theme’ is closed to new replies.