Viewing 18 posts - 1 through 18 (of 18 total)
  • Author
    Posts
  • #12706
    ashrafashraf
    Member

    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’);

    #12729
    Sakin
    Keymaster

    @ashrafashraf: If you have customize the site though child theme and theme options panel, then nothing will happen when you update your theme.

    #12735
    ashrafashraf
    Member

    Thank you so much.

    Have a nice day.

    #13179
    ashrafashraf
    Member

    Hi 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/dagis

    #13190
    ashrafashraf
    Member

    I don’t activate my child theme. this is my wrong.

    #13191
    Sakin
    Keymaster

    @ashrafashraf: After you create child theme, all the core theme files edits has to be done through child theme.

    #13194
    ashrafashraf
    Member

    Thank 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

    #13197
    ashrafashraf
    Member

    see please , what happened on my blog ?
    I don’t understand where is my wrong ?

    #13198
    ashrafashraf
    Member

    see please , what happened on my blog ?
    I don’t understand where is my wrong ?
    http://www.ashraf-dev.com/test/

    #13199
    ashrafashraf
    Member

    see please , what happened on my blog ?
    I don’t understand where is my wrong ?
    http://www.ashraf-dev.com/test/

    #13200
    ashrafashraf
    Member

    i 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’);

    #13201
    ashrafashraf
    Member

    see please , what happened on my blog ?
    I don’t understand where is my wrong ?
    http://www.ashraf-dev.com/test/

    #13204
    Sakin
    Keymaster

    @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");
    #13244
    ashrafashraf
    Member

    Hi 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

    #13246
    Sakin
    Keymaster

    @ashrafashraf: it’s better to copy the code that I gave you.

    #13252
    ashrafashraf
    Member

    Thank 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 ?please

    #13253
    ashrafashraf
    Member

    I have now Catch box pro , so i can change the powered by section .

    #13271
    Sakin
    Keymaster

    @ashrafashraf: Yes you can simple change Powered by section from “Appearance => Theme Options => Footer Editor”.

Viewing 18 posts - 1 through 18 (of 18 total)
  • The topic ‘child theme’ is closed to new replies.