WordPress.org

Support

Support » Themes and Templates » [Resolved] [Theme: Mon Cahier] How to change fonts

[Resolved] [Theme: Mon Cahier] How to change fonts

Viewing 11 replies - 1 through 11 (of 11 total)
  • Theme Author Christine Rondeau

    @crondeau

    Volunteer Forum Moderator

    I would set up a child theme folder and in the style.css, just replace the fonts you wish to replace. So for example, if you don’t like the headings which are currently:

    h1,h2,h3,h4,h5,h6 {
    	clear: both;
    	font-family: 'Cutive', serif;
    	margin: 10px 0;
    	font-weight:normal;
    }

    You could change the font-family to whatever else you want.

    If you wanted to use another Google font, you can import the google font family and just paste the code in the style.css of your css.

    sargefran

    @sargefran

    I just wanted to change the fonts in the content area in single post, everything else is fine. Plus, it doesn’t seem to be working. I’m trying to give it the same fonts Twenty Eleven theme has.

    Theme Author Christine Rondeau

    @crondeau

    Volunteer Forum Moderator

    Can you provide a link to your site and let me know what you want it to look like?
    Are you trying to change the font-family, color, size?

    What do you have in your css right now?

    sargefran

    @sargefran

    Sure its: http://toxichominid.com

    Just the font-family, size is fine the way it is.

    I removed it from the css because it wasn’t working.

    Theme Author Christine Rondeau

    @crondeau

    Volunteer Forum Moderator

    I can’t remember off the top of my head what Twenty Eleven has, but right now, the body has a font-family set to georgia.
    So if you added something like

    body {
    font-family: helvetica, sans-serif;
    }
    to your child style.css that should do it.

    It’s hard to know why your changes are not working without knowing what you tried.

    sargefran

    @sargefran

    Still nothing, I have no idea why this isn’t working.

    Theme Author Christine Rondeau

    @crondeau

    Volunteer Forum Moderator

    I don’t see anything in your child theme css that would change the body copy. I only see a change to the blockquote.
    I think that you need to add a style to the body {}

    The headings have changed, so some of them are taking place.

    I’m going to bed now… sorry, I’ll check again in the morning. Maybe someone in a different timezone can chime in.

    sargefran

    @sargefran

    Hey thanks for your help, I finally figured it. It seems Google Chrome has some kind of delay in showing changes done in css, but Firefox doesn’t.

    Thanks for helping.

    Nilam Patel

    @nilam-patel

    change line 23 in style.css

    from
    font-family: inherit;
    to
    your desire font

    Theme Author Christine Rondeau

    @crondeau

    Volunteer Forum Moderator

    Looks great. Glad you managed to figure it out.

    sargefran

    @sargefran

    Thanks a lot, and the theme is just amazing.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘[Resolved] [Theme: Mon Cahier] How to change fonts’ is closed to new replies.