• Resolved armstrong360

    (@armstrong360)


    This article on creating Child Themes, http://codex.wordpress.org/Child_Themes, says
    “The theme directory is wp-content/themes.” Where is this directory. On my HD? Somewhere else? The article does not say.
    The article then says, “In the child theme directory, create a file called style.css.” How do you “create a file”? Using what?
    Sorry if these are rudimentary questions, but the article is not clear.
    Thank you.

Viewing 9 replies - 1 through 9 (of 9 total)
  • You create a css file with a text editor, it it saves as a txt extensin just rename it.
    Are you on a live server or local install?

    Thread Starter armstrong360

    (@armstrong360)

    Sorry, I don’t understand your reply. Where do i find the directory http://codex.wordpress.org/Child_Themes? Is it on my hard drive?
    I don’t see it in the editor on WP.

    If you installed a local server it will be on your hard drive.
    If you are using a web hosting service it will be on the hosting server.

    If you are using a hosting service what is the name of the service?

    Thread Starter armstrong360

    (@armstrong360)

    Hosting service is Reclaim Hosting

    You can login to your control panel, should look something like this.
    Go into File Manger (bottom of image) you can navigate to the folder from there.

    Thread Starter armstrong360

    (@armstrong360)

    Okay, that was helpful. Thank you. I found the directory and created the file.
    But when I go to active the child theme, I get a message that says it’s broken. It says:
    Broken Themes

    The following themes are installed but incomplete. Themes must have a stylesheet and a template.

    Name Description
    Largo Master Child The parent theme is missing. Please install the “largo-master” parent theme.

    (I’ve got screen shoots but this site won’t let me upload them.)

    The style.css file I wrote says:

    /*
    Theme Name: Largo Master Child
    Theme URI:
    Description: Largo Master Child Theme
    Author: David Armstrong
    Author URI:
    Template: largo-master
    Version: 1.0.0
    Tags:
    Text Domain: largo-master-child
    */

    @import url(“../largo-master/style.css”);

    /* =Theme customization starts here
    ————————————————————– */

    I’ve tried several times with the same results. Any ideas?
    Thanks.

    The error gives you the fix.

    The parent theme is missing. Please install the “largo-master” parent theme.

    Make sure that largo-master & largo-master-child are in the themes folder.

    two possible options, is you use local server or hosting ? as you use hosting … simply login to your cpanel and there you will see your required folder … there you can put your child theme …

    Thread Starter armstrong360

    (@armstrong360)

    Thanks batharoy and laralib110. Both the child and parent are in the wp-content/themes folder. So I don’t think that’s the problem. I think it may have something to do with the name. The folder for the parent is: Largo-master. But it shows up in my dashboard > appearance > themes as: Project Largo – Base Theme.

    The style.css is:

    /*
    Theme Name: Project Largo – Base Theme
    Theme URI: http://investigativenewsnetwork.org
    Description: A responsive news theme developed by Media Toybox for the Investigative News Network based on the Argo theme developed at NPR by Project Argo.
    Author: Adam Schweigert (Media Toybox)
    Author URI: http://adamschweigert.com
    Version: 0.1
    Tags: blue, white, light, two-columns, right-sidebar, flexible-width, custom-header, sticky-post, microformats, post-formats, theme-options, featured-images, threaded-comments, editor-style, custom-menu

    License: GPL-2.0
    License URI: http://www.gnu.org/licenses/gpl-2.0.html
    */

    The child I created is Largo-master-child. The style.css I wrote is:

    /*
    Theme Name: Largo-master Child Theme
    Theme URI: http://georgianewslab.org
    Description: A responsive news theme developed by Media Toybox for the Investigative News Network based on the Argo theme developed at NPR by Project Argo.
    Author: Adam Schweigert (Media Toybox)
    Author URI: http://adamschweigert.com
    Template: largo-master
    Version: 0.1.0
    Tags: blue, white, light, two-columns, right-sidebar, flexible-width, custom-header, sticky-post, microformats, post-formats, theme-options, featured-images, threaded-comments, editor-style, custom-menu
    */

    @import url(“../largo-master/style.css”);

    /* First we need to import the stylesheet from the Largo parent theme */
    @import url(“../largo-master/style.css”);

    /* The above stylesheet provides barebones styling,
    if you want all the fancy stuff (rounded corners, gradients, etc. from Twitter bootstrap,
    uncomment the following line
    */
    @import url(“../largo-master/css/bootstrapify.css”);

    /* Now you can add any of your custom styles below this line */

    But it’s not in dashboard > appearance > themes. And I see the message:

    Broken Themes

    The following themes are installed but incomplete. Themes must have a stylesheet and a template.

    Name Description
    Largo-master Child Theme The parent theme is missing. Please install the “largo-master” parent theme.

    Any idea what I’m doing wrong?
    Thanks.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Where is wp-content/themes?’ is closed to new replies.