• David_G

    (@questas_admin)


    I have 3.2.17, with the google fonts as part of the theme, I have found that I cannot choose my own fonts & text color for the titles. Is there any way to over-ride the theme on this one? I have tried using “!important” but even that fails. Any ideas would be appreciated. Thanks

Viewing 10 replies - 1 through 10 (of 10 total)
  • Hi questas_admin 😉
    this looks weird, a link to your site?

    Thread Starter David_G

    (@questas_admin)

    Can you delete the link after, or is there any way to send it to you privately? This is a private family site. Never mind I will delete it in 10 minutes.

    This site I cant change the post title color or font

    Nope cannot do anything like that :/
    Don’t have moderator’s caps and cannot share contact infos due to wp.org rules, and of course my privacy (:P).
    The only thing I can suggest is to use much stronger rules +, if needed, !important.
    So, for example, a page title:

    body.page article header h1 {
    font-size: 50px;
    font-family: Arial;
    }

    You can test it live in the demo site on the page Gallery ( demo site uses Roboto google font for that)
    Or in the home:

    body.blog .entry-header .entry-title a {
        font-family: Arial !important;
    }

    (demo site uses Fjalla for that one)

    Now give me an example of what you want to change..

    Thread Starter David_G

    (@questas_admin)

    Let me give those a try.

    Anyway in “my first ..” post the color is blue, according to your rule.
    In uncategorized the post title color isn’t blue because is overridden by the “a” rule, so you need a stronger selector for that, but the category title is blue, always according to your rule, so it’s working 😉

    Thread Starter David_G

    (@questas_admin)

    I got the color to work, but not the font with that 2nd snippet. But at least the color changed.

    body.blog .entry-header .entry-title a {
    font-family: Love+Ya+Like+A+Sister !important;
    color: blue !important;
    	}

    That page isn’t a blog page.. Is just a post page.. That’s why that code doesn’t work. The color works because it already worked .. 🙂 because a rule you have in your child them like .post h1 (as I sais in my reply above). About the font family.. Is that font in your px? Or do you load it on your website?
    For that page
    body.post h1

    Should be enough…

    Talk u tomorrow 😉

    Thread Starter David_G

    (@questas_admin)

    OK thanks.

    .single-post h1 {
        font-family: Arial!important;
    }

    works, but doesn’t work with your font-family, not here at least, where’s that font family?

    p.s.
    body.post in my previous reply was wrong, since it doesn’t exist 🙂

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Child theme font setting’ is closed to new replies.