Moderator
t-p
(@t-p)
Moderator
t-p
(@t-p)
Also try reviewing WP codex and see if you missed anything
You gotta get those numbers out of there.
/*
2.Theme Name: mh-magazine-lite-child
3.Theme URI: http: //mysite.com/
4.Description: This is a custom child theme I have created.
5.Author: my Name
6.Author URI: http: //mysite.com/
7.Template: mh-magazine-lite
8.Version: 0.1
9.*/
Should be:
/*
Theme Name: mh-magazine-lite-child
Theme URI: http: //mysite.com/
Description: This is a custom child theme I have created.
Author: my Name
Author URI: http: //mysite.com/
Template: mh-magazine-lite
Version: 0.1
*/
Dear Susan sorry for the delay in thanking you for your suggestion but as new to WordPress having moved from two other website software trying to get my head round everything.
Anyway uploaded the new CSS script as below and still getting the error message ‘stylesheet is missing’ I thought the @import ur1(“../mh-magazine-lite.css”) command was supposed to load the script?
Many thanks Nigel
/*
Theme Name: mh-magazine-lite-child
Theme URI: http: //mysite.com/
Description: This is a custom child theme I have created.
Author: my Name
Author URI: http: //mysite.com/
Template: mh-magazine-lite
Version: 0.1
*/
@import ur1(“../mh-magazine-lite/style.css”)
uploaded the new CSS script as below
what file name are you using for that?
into which folder have you uploaded the file?
Michael the folders on the server are as follows:
Themes
-index.php
-mh-magazine-lite
-mh-magazine-lite-child
– style.css
into the style css of the child folder is the following code:
/*
Theme Name: mh-magazine-lite-child
Theme URI: http: //mysite.com/
Description: This is a custom child theme I have created.
Author: my Name
Author URI: http: //mysite.com/
Template: mh-magazine-lite
Version: 0.1
*/
@import ur1(“../mh-magazine-lite/style.css”)
As I understand it the line above should use the template from mh-magazine-lite.
regards Nigel
Dear forum readers can anybody help with my child theme issues above. All the work I do for Gurkha Regimental Associations and their charities are free of charge and I have been doing this for over 6 years. My current issues is that all the websites need to be cut over to WordPress which is new to me.
Many thanks.
Come on folks I had hoped that moving to WordPress would provide me with an active forum that answers questions. I follow what I am told and always answer other queries. On the Joomla and Serif Webplus forums I have a high record of answering people’s questions and offering IT support and yet so far the WordPress forum has been (well just say disappointing)
I just tried to create a child theme with the mh-magazine-lite theme —
I created a new folder inside of the /wp-content/themes/ folder, like:
/wp-content/themes/mh-magazine-lite-child/
in that folder, I inserted a style.css, like:
/wp-content/themes/mh-magazine-lite-child/style.css
and in that style.css, I inserted:
/*
Theme Name: mh-magazine-lite-child
Theme URI: http: //mysite.com/
Description: This is a custom child theme I have created.
Author: my Name
Author URI: http: //mysite.com/
Template: mh-magazine-lite
Version: 0.1
*/
@import url("../mh-magazine-lite/style.css")
the child theme activates without problem.
Dear Michael that is fantastic thank you very much. I am still not sure what went wrong but following your instructions my child theme is now activated.
I got volunteered into building websites for various Gurkha Charities 6 years ago and started off with Serif Webplus then Joomla and now they have asked me to change all their sites to WordPress so having to learn all over again. Amazing that one hour of free service 6 years ago has led to my near on full time doing this foc. Oh well a good cause.
many thanks
Nigel