WordPress.org

Ready to get started?Download WordPress

Forums

Mon Cahier
[resolved] How to change fonts (12 posts)

  1. sargefran
    Member
    Posted 1 year ago #

    Just wondering how could I change the fonts using a child theme. Thanks

    http://wordpress.org/extend/themes/mon-cahier/

  2. Christine Rondeau
    http://www.bluelimemedia.com
    Theme Author

    Posted 1 year ago #

    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.

  3. sargefran
    Member
    Posted 1 year ago #

    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.

  4. Christine Rondeau
    http://www.bluelimemedia.com
    Theme Author

    Posted 1 year ago #

    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?

  5. sargefran
    Member
    Posted 1 year ago #

    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.

  6. Christine Rondeau
    http://www.bluelimemedia.com
    Theme Author

    Posted 1 year ago #

    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.

  7. sargefran
    Member
    Posted 1 year ago #

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

  8. Christine Rondeau
    http://www.bluelimemedia.com
    Theme Author

    Posted 1 year ago #

    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.

  9. sargefran
    Member
    Posted 1 year ago #

    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.

  10. Nilam Patel
    Member
    Posted 1 year ago #

    change line 23 in style.css

    from
    font-family: inherit;
    to
    your desire font

  11. Christine Rondeau
    http://www.bluelimemedia.com
    Theme Author

    Posted 1 year ago #

    Looks great. Glad you managed to figure it out.

  12. sargefran
    Member
    Posted 1 year ago #

    Thanks a lot, and the theme is just amazing.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags