- Open the file manager from your hosting (bluehost) cPanel
- Go to folder, wp-content->themes
- Create a folder, with the same name - child. For example for mystile theme, folder name will be: mystile-chile
- Copy the style.css file from the main theme folder, and edit the style.css folder
- Change the Theme name to Mystile Child Theme
- Add a line, Template: mystile (parent theme name). Template name is case sensitive. The name should according to the folder name.
- Import the styles from the parent theme
- You can add your customized css style
- Copy the header.php, footer.php or any other files if necessary into the child theme folder. Never copy function.php file. If you copy function.php file you will see blank page.
- Now go back to your wordpress admin, wp-admin
- In the Appearance->Themes you will see new theme name mystile-child
/*
Theme Name: Mystile Child Theme
Theme URI: http://www.woothemes.com/
Version: 1.3.0
Description: Designed by <a href="http://www.woothemes.com">WooThemes</a>.
Author: WooThemes
Author URI: http://www.woothemes.com
Tags: woothemes
Template: mystile
Copyright: (c) 2009-2011 WooThemes.
License: GNU General Public License v2.0
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/
/* =Imports styles from the parent theme
-------------------------------------------------------------- */
@import url('../mystile/style.css');
/* =Theme customization starts here
-------------------------------------------------------------- */
head + body{
background: url("http://www.bestcarpets.co/wp-content/uploads/2014/06/body-bg-retina-wood.jpg");
background-position: center center;
padding: 0 13%;
}
/*
body.term-carpets{
background: url("http://www.bestcarpets.co/wp-content/uploads/2014/05/body-background1.jpg");
background-position: center center;
padding: 0 10%;
}
*/
Theme Name: Mystile Child Theme
Theme URI: http://www.woothemes.com/
Version: 1.3.0
Description: Designed by <a href="http://www.woothemes.com">WooThemes</a>.
Author: WooThemes
Author URI: http://www.woothemes.com
Tags: woothemes
Template: mystile
Copyright: (c) 2009-2011 WooThemes.
License: GNU General Public License v2.0
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/
/* =Imports styles from the parent theme
-------------------------------------------------------------- */
@import url('../mystile/style.css');
/* =Theme customization starts here
-------------------------------------------------------------- */
head + body{
background: url("http://www.bestcarpets.co/wp-content/uploads/2014/06/body-bg-retina-wood.jpg");
background-position: center center;
padding: 0 13%;
}
/*
body.term-carpets{
background: url("http://www.bestcarpets.co/wp-content/uploads/2014/05/body-background1.jpg");
background-position: center center;
padding: 0 10%;
}
*/
Looking for sports wp themes? This is a collection of the best WordPress sports themes designed for sports clubs, sport magazine.
ReplyDelete