WordPress.org

Ready to get started?Download WordPress

Forums

The Bootstrap
change font using child theme. (5 posts)

  1. lynn.birch
    Member
    Posted 11 months ago #

    I'm trying to change the font of the title and text of the theme. From what i'm reading, i was able to setup a child theme. I also thought i should edit the font in either the bootstrap.css or bootstrap.min.css file.

    I'm not sure if i'm missing something here... i'd rather not download the source and compile the LESS code... so do i edit the .min versions or the .css version ? I believe i'd edited the bootsrap.min and style.ss files correctly, but i'm unable to effect the font. :-(

    is there a concise procedure to use here ? it seems to be like there should be one or two files you should touch and its not a big deal - i keep waiting for my edits to make it finally work, but i think i'm missing something.
    lynn

  2. iampng
    Member
    Posted 11 months ago #

    Does your child theme look like the below, you do all the changes in the child theme:
    /*
    Theme Name: The Bootstrap child theme (name your theme)
    Theme URl: http://www.yourdomain.com
    Description: (give it a description)
    Version: 1.0
    Author: (write your name)
    Author URl:(http://yourwebsite.com)
    Template: the-bootstrap (folder name of Parent Template Theme - case sensitive)
    */

    Below is the link to your parent theme stylesheet
    @import url("../the-bootstrap/style.css");

    .entry-content {
    font: your selected font;
    }

    .entry-title h1 {
    font: your selected font
    }
    Need any more help, let me know

  3. lynn.birch
    Member
    Posted 11 months ago #

    i was unable to get this to work with the suggestions. i did notice that i had the headers wrong, but i wasn't able to change the font with the corrections and additional changes. the site is http://s476078278.onlinehome.us/ i changed to standard font instead of the one i was trying to custom import.

  4. iampng
    Member
    Posted 11 months ago #

    what font are you trying to use and import

  5. lynn.birch
    Member
    Posted 11 months ago #

    I'm trying to use a custom font that i downloaded - but i think the problem is that the style.css is not getting used - it seems like in firebug, i only see style.min.css being referenceed

Reply

You must log in to post.

About this Theme

About this Topic

Tags

No tags yet.