Welcome! To use this support forum, please Login or Join Today!

   

Skeleton:  main theme or child theme?

{name}
Rank

Total Posts: 25

Joined 2011-07-05

PM

 
I posted a question here but I haven't received a response yet.

http://demos.simplethemes.com/skeleton/topic/working-on-the-theme-or-child-theme

I will use Skelton and I have read many tutorials that recommend that one always have to use a child theme and not the main theme if you need to make customizations. However, when I activate the child theme my site doesn't look the same way as the main Skelton theme.

If I need to be using the child theme, how do I make it look like the main theme?

Should I copy and paste the entire original style.css file to the child theme style.css file?

Should I remove the content of the child theme style.css file and add
@import url('../skeleton/style.css'); 
? (I just tried doing this and the child theme still doesn't look like the main theme. The width of the menu bar and the content area are aprox 850px instead of 960px in the main theme.

Also, why does the child theme have

- I am above the header
- I am below the header
- I am an announcement only shown on the front page.

and the main theme doesnt have that?

Thank you in advance for your help!

M
{name}
RankRankRankRank

Total Posts: 3667

Joined 2011-04-27

PM

 
Hi, I responded to your topic in the Skeleton forum.
To further elaborate, the included child theme is a sample theme and contains some example customizations. I will reset it to a more "vanilla state" for others.
If you copy the mater theme's style.css, functions.php, and options.php, then just add the template tag to style.css so it should look like this:



/*
Theme Name: Skeleton Child Theme
Theme URI: http://www.simplethemes.com
Description: A simple WordPress theme based on the Skeleton RWD framework
Version: 1.3
Author: Simple Themes
Author URI: http://www.simplethemes.com
License: GPL
License URI: http://www.opensource.org/licenses/gpl-license.php
Template: skeleton
*/


The main thing being the "Template: skeleton" line.

{name}
Rank

Total Posts: 25

Joined 2011-07-05

PM

 
Hello

I followed your instructions here http://demos.simplethemes.com/skeleton/topic/working-on-the-theme-or-child-theme#post-614

I did this:

1) I modified the child theme style.css file like this

/*
Theme Name: Skeleton Child
Theme URI: http://www.simplethemes.com
Description: A simple WordPress theme based on the Skeleton RWD framework
Version: 1.0
Template: skeleton
Author: Simple Themes
Author URI: http://www.simplethemes.com
License: GPL
License URI: http://www.opensource.org/licenses/gpl-license.php
*/


@import url('../skeleton/style.css'); 


2) I copied the functions.php and options.php files from the master theme to the child theme.

Now I get this error message

{name}
RankRankRankRank

Total Posts: 3667

Joined 2011-04-27

PM

 
Yes, I'm making some changes now.
I need to separate the shortcodes from functions.php.

I'll have it updated shortly and will notify you here in this thread.
{name}
RankRankRankRank

Total Posts: 3667

Joined 2011-04-27

PM

 
Ok, If you'll re-download the latest version of the theme (1.5) I think you'll find it much easier to work with on a child theme basis.

Master: (jigoshop and bbpress support) - https://github.com/simplethemes/skeleton_wp
Naked: (standard wp theme) - https://github.com/simplethemes/skeleton_wp/tree/naked-standalone
{name}
Rank

Total Posts: 25

Joined 2011-07-05

PM

 
Dear Casey,

Thank you very much for the update. I have downloaded the theme and replaced the files. However, I think there might be something wrong because when I go to Appearance >> Themes the Child theme doesn't have any information.

See here




and when I go to Appearance >> Editor I get this error message



{name}
RankRankRankRank

Total Posts: 3667

Joined 2011-04-27

PM

 
You can add the screenshot.png file from the parent theme if you want to display the thumbnail in the theme manager.
The theme editor you're getting looks like you may not have the parent theme installed.
{name}
Rank

Total Posts: 25

Joined 2011-07-05

PM

 
Dear Casey

I have just uploaded it again. First I uploaded just the "skeleton" and "skeleton_childtheme" folders inside the Themes folder and I got an error message. The I just uploaded the entire "simplethemes-skeleton_wp-77f7107"




In both ways I don't even see the child theme. I get below an error messaga that says "The following themes are installed but incomplete. Themes must have a stylesheet and a template."



There must be something wrong with the child theme?

M
{name}
RankRankRankRank

Total Posts: 3667

Joined 2011-04-27

PM

 
It looks like your folder structure isn't set up correctly. It should be:

skeleton_child_theme
{name}
Rank

Total Posts: 25

Joined 2011-07-05

PM

 
Hi Casey,

I have just uploaded the themes as you showed




I am still getting this error message

Broken Themes

The following themes are installed but incomplete. Themes must have a stylesheet and a template.
{name}
RankRankRankRank

Total Posts: 3667

Joined 2011-04-27

PM

 
From the looks of your screenshot, the "gic" and "twentyeleven" folders look broken. This may be the reason you are getting the error.
Are you able to see the Skeleton theme and Skeleton child theme in the themes panel?

If you'd like to PM me your wp-admin/FTP info I'll be glad to take a look.
{name}
Rank

Total Posts: 25

Joined 2011-07-05

PM

 
I only see the Skeleton theme but not the Skeleton child theme. I assume there is something broken in the child theme CSS file.
{name}
RankRankRankRank

Total Posts: 3667

Joined 2011-04-27

PM

 
It sounds like you may not have uploaded it properly or the contents of the folder are missing.
I just downloaded direct from github, uploaded and activated without issue. I'm unable to reproduce the problem.
{name}
Rank

Total Posts: 25

Joined 2011-07-05

PM

 
DoI have to use the master or naked?

I am using the naked

Master: (jigoshop and bbpress support) - https://github.com/simplethemes/skeleton_wp
Naked: (standard wp theme) - https://github.com/simplethemes/skeleton_wp/tree/naked-standalone
{name}
RankRankRankRank

Total Posts: 3667

Joined 2011-04-27

PM

 
Naked should be fine.
I'm wondering if your server is parsing the /skeleton directory with case sensitivity?

Try editing style.css in the skeleton child theme to:

/*
Theme Name: Skeleton Child Theme
Theme URI: http://www.simplethemes.com
Description: A simple WordPress theme based on the Skeleton RWD framework
Version: 1.5
Author: Simple Themes
Author URI: http://www.simplethemes.com
Template: skeleton
License: GPL
License URI: http://www.opensource.org/licenses/gpl-license.php
*/
{name}
Rank

Total Posts: 25

Joined 2011-07-05

PM

 
this fixed everything! thank you so much!