WordPress.org

Ready to get started?Download WordPress

Forums

Changing fonts & font sizes (4 posts)

  1. jax4pres
    Member
    Posted 1 year ago #

    Hello,
    Once again I come with a very easy problem that I can't seek to solve. Basically, I'm playing around with the fonts on my site: http://jackgrabon.com.

    I've successfully changed the font family (more or less), but I can't alter the font size the way I want it. When I do inspect element, it tells me that the h1 tag is responsible for the white text and that media="screen" rules the page text (at least I think).

    How do I fix this? I've gone into the only stylesheet on the back-end of WP, but there isn't that h1. I'm confused b/c I thought that there was a master stylesheet. Any help would be appreciated...

    Thanks,
    Jax

  2. Andrew Bartel
    Member
    Posted 1 year ago #

    You can always make a new entry.

    h1 {
    font-size: 24px; /* or whatever */
    }

    Make sure you're using a child theme too!

  3. jax4pres
    Member
    Posted 1 year ago #

    Not sure what a child theme is. I was just hoping to change whatever is producing the font sizes rather than adding more and potentially creating a problem in the future.

  4. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    If you modify theme files, that WILL cause problems in the future because your changes will be overwritten and lost when the theme is updated. If you don't want to make a child theme, you can add Custom CSS via a plugin such as Custom CSS Manager or JetPack.

Topic Closed

This topic has been closed to new replies.

About this Topic