WordPress.org

Ready to get started?Download WordPress

Forums

Novice seeking tips 8/29 (4 posts)

  1. Rexsmom@17
    Member
    Posted 1 year ago #

    How does ones open our child theme? Is that found on Worpdress or FTP-Client ? I am still a novice here.

  2. cinghaman
    Member
    Posted 1 year ago #

    Hi
    you have to create your own child theme,
    create a folder using ftp
    wp-contents/themes/(your-child-theme-folder)
    and add style.css
    and add this on top of your style.css

    /*
    Theme Name:     your-child-theme-name
    Theme URI:      http://example.com/
    Description:    Child theme for the Twenty Eleven theme
    Author:         Your Name
    Author URI:     http://example.com/about/
    Template:       twentyeleven
    Version:        0.1.0
    */
    @import url("../twentyeleven/style.css");

    Template is the theme your are going to make child of

    follow this codex for more in -depth understanding
    http://codex.wordpress.org/Child_Themes

  3. Rexsmom@17
    Member
    Posted 1 year ago #

    I was looking over that before you commented. I find it confusing still. Thanks for tip though. :)

  4. cinghaman
    Member
    Posted 1 year ago #

    so basically in simple terms
    you make a child theme if you want to custom style or add your new functions on your WordPress theme

    Structure ---
    You have a parent theme (could be even twentyten)
    in the same directory (wp-content/themes) you make your own theme folder (your child theme)
    so how does this child theme knows who is the parent
    that is where you add your style.css (and add the code i showed above)
    Most of the options in the code above are self explanatory
    Just a thing to keep in mind
    Template : (this would be name of your parent theme folder)

    Child theme styles and functions would be called before the parent themes so you can over ride any default styling of your parent theme style

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.