- This topic has 17 replies, 2 voices, and was last updated 11 years, 3 months ago by Sakin.
-
AuthorPosts
-
August 2, 2013 at 8:46 pm #12706ashrafashrafMember
Hi sir,
THank you for everything. you are so kind and helpful.
Please,
i created child theme folder , and this folder have only one file(style.css).
My question is :
If i will update my theme(catch-box) what will happen to my blog ?
/*
Theme Name: Ashraf
Theme URI: http://catchthemes.com/themes/catchbox
Author: Catch Themes Team
Author URI: http://catchthemes.com
Template: catch-box
Description: Catch Box Child Theme
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: dark, light, white, black, gray, one-column, two-columns, left-sidebar, right-sidebar, fixed-width, flexible-width, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-image-header, featured-images, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready
*/
@import url(‘../catch-box/style.css’);August 3, 2013 at 11:04 pm #12729SakinKeymaster@ashrafashraf: If you have customize the site though child theme and theme options panel, then nothing will happen when you update your theme.
August 4, 2013 at 4:13 am #12735ashrafashrafMemberThank you so much.
Have a nice day.
August 14, 2013 at 3:32 pm #13179ashrafashrafMemberHi Sakin,
Yesterday, i updated my theme and i lost every thing.
I did exact what you said.and i created child theme folder , and this folder have only one file(style.css).
and i added the following code:
Theme Name: Ashraf
Theme URI: http://catchthemes.com/themes/catchbox
Author: Catch Themes Team
Author URI: http://catchthemes.com
Template: catch-box
Description: Catch Box Child Theme
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: dark, light, white, black, gray, one-column, two-columns, left-sidebar, right-sidebar, fixed-width, flexible-width, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-image-header, featured-images, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready
*/
@import url(‘../catch-box/style.css’);Please, what must i do ?and where is the wrong?
the issue on ashraf-dev.com/dagisAugust 14, 2013 at 8:07 pm #13190ashrafashrafMemberI don’t activate my child theme. this is my wrong.
August 14, 2013 at 8:20 pm #13191SakinKeymaster@ashrafashraf: After you create child theme, all the core theme files edits has to be done through child theme.
August 14, 2013 at 9:03 pm #13194ashrafashrafMemberThank you for your clear and helpful explanation.
PLease another question:
I have now catch pro. so my question is :
must i create child theme(cacth-box-pro-child) to keep all my changes if i get any updating in the future ?Best regards
August 14, 2013 at 9:17 pm #13197ashrafashrafMembersee please , what happened on my blog ?
I don’t understand where is my wrong ?August 14, 2013 at 9:17 pm #13198ashrafashrafMembersee please , what happened on my blog ?
I don’t understand where is my wrong ?
http://www.ashraf-dev.com/test/August 14, 2013 at 9:19 pm #13199ashrafashrafMembersee please , what happened on my blog ?
I don’t understand where is my wrong ?
http://www.ashraf-dev.com/test/August 14, 2013 at 9:20 pm #13200ashrafashrafMemberi created child theme folder , and this folder have only one file(style.css).
/*
Theme Name: Ashraf
Theme URI: http://catchthemes.com/themes/catchbox
Author: Catch Themes Team
Author URI: http://catchthemes.com
Template: catch-box
Description: Catch Box Child Theme
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: dark, light, white, black, gray, one-column, two-columns, left-sidebar, right-sidebar, fixed-width, flexible-width, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-image-header, featured-images, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready
*/
@import url(‘../catch-box/style.css’);August 14, 2013 at 9:45 pm #13201ashrafashrafMembersee please , what happened on my blog ?
I don’t understand where is my wrong ?
http://www.ashraf-dev.com/test/August 14, 2013 at 10:33 pm #13204SakinKeymaster@ashrafashraf: it’s not loading your parent theme css. So, can you replace the code in your child theme style.css with the following
/* Theme Name: Ashraf Theme URI: http://catchthemes.com/themes/catchbox Author: Catch Themes Team Author URI: http://catchthemes.com Template: catch-box Description: Catch Box Child Theme Version: 1.0 License: GNU General Public License v2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Tags: dark, light, white, black, gray, one-column, two-columns, left-sidebar, right-sidebar, fixed-width, flexible-width, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-image-header, featured-images, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready */ @import url("../catch-box/style.css");
August 15, 2013 at 12:34 pm #13244ashrafashrafMemberHi Sakin,
Very important, please,/*
Theme Name: Ashraf
Theme URI: http://catchthemes.com/themes/catchbox
Author: Catch Themes Team
Author URI: http://catchthemes.com
Template: catch-box
Description: Catch Box Child Theme
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: dark, light, white, black, gray, one-column, two-columns, left-sidebar, right-sidebar, fixed-width, flexible-width, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-image-header, featured-images, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready
*/@import url(‘../catch-box-pro/style.css’); is that right ? Or must be @import url(“../catch-box/style.css”); ?
which one please i must added ?
Best wishes
August 15, 2013 at 12:57 pm #13246SakinKeymaster@ashrafashraf: it’s better to copy the code that I gave you.
August 15, 2013 at 2:52 pm #13252ashrafashrafMemberThank you very much.
Okey , I will write @import url(“../catch-box/style.css”);Please Sakin , in the Footer.php ,i changed the power by to be the power by : Ashraf Jibrael.
In this case when i will update my blog so the footer.php will be effected.
How can i fix this issue ?pleaseAugust 15, 2013 at 4:03 pm #13253ashrafashrafMemberI have now Catch box pro , so i can change the powered by section .
August 15, 2013 at 10:33 pm #13271SakinKeymaster@ashrafashraf: Yes you can simple change Powered by section from “Appearance => Theme Options => Footer Editor”.
-
AuthorPosts
- The topic ‘child theme’ is closed to new replies.