WordPress.org

Ready to get started?Download WordPress

Forums

Preference Lite
[resolved] Changing Main Content Font on Pages (5 posts)

  1. leahtams
    Member
    Posted 4 months ago #

    I want to change the font of the main text on my website, but I can't seem to find where to do this in the CSS. My site is leahtams.org. I have tried changing the font-family attributes, but it doesn't seem to do anything. So far the only success I've had is changing the span style within the page, but I would rather not have to do that for every span element.

  2. StyledThemes
    Member
    Theme Author

    Posted 4 months ago #

    The font is set from the HTML tag in the style.css that looks like this:

    html {
    font-size: 100%;
    font-family: "PT Sans", Arial, Helvetica, sans-serif;
    color: #747474;
    }

    I would recommend if making theme modifications, to use the child theme instead (which is in the theme's folder "child-theme". Or, at least a CSS editing plugin. The other option is to use a font plugin.

  3. leahtams
    Member
    Posted 4 months ago #

    Great, thank you!

    I do have one more question--also in the body of my pages, the site is rendering my selected colors incorrectly for links. I have the link color set as #1e73be, but it's showing up as some strange purple color instead. The hover color works fine. If I set the link color and hover color to be the same, they show up as that purple shade no matter what.

  4. StyledThemes
    Member
    Theme Author

    Posted 4 months ago #

    Your welcome... however, for your other question, you may want to post that as a new topic because I'm sure the moderators will catch that. I'm assuming this topic you started though is resolved?

    For the colour one, post a new topic and I will follow up first thing tomorrow (10pm right now for me). Cheers!

  5. leahtams
    Member
    Posted 4 months ago #

    Yes, this topic is resolved! :)

Reply

You must log in to post.

About this Theme

About this Topic

Tags