WordPress.org

Ready to get started?Download WordPress

Forums

[Theme: Linen] Changing Fonts (3 posts)

  1. thewinodc
    Member
    Posted 1 year ago #

    Hi!

    1) I have done lots of research on this so I come having tried! :) How do I know what my h2, h3, h4, h5 headers are? When I try to change them to Dancing Script using Google fonts, they don't work (the tutorials don't seem to look like my css.)

    For example, what header is the "Recent Posts" on this page? http://www.anewcourier.com/archives/
    What is I wanted to change that font to Dancing Script, as well? Thanks!

    2) On this page, how would I change the bolded text to Dancing Script?
    http://www.anewcourier.com/about/

    Thank you.

  2. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Try using Firebug to work with CSS issues like this -- it shows you exactly the CSS code that is being applied to specific elements on the page...

    <h2>Recent Posts</h2>

    is using

    body.page-template-tm-archives-php .entry h2 {
        font-size: 1.2em;
        padding: 30px 0 10px;
    }

    and font from a long list of elements in internal (in the head of that page on line 82)

    font-family: 'Copse',Helvetica,Arial,sans-serif;

    On 2) you'd probably need to put that text in span tags to attache the special font to.

    <span class="specialfont">My text here</span>

    CSS

    .specialfont {
      font-family: ....... ;
    }
  3. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Oh and to change the first one, try this CSS:

    .entry h2 {
       font-family:  ..... ;
    }

Topic Closed

This topic has been closed to new replies.

About this Topic