what are the steps of customization of a child theme

  • Wail

    #2220

    Hello Khairul!!

    First of all thanks for this great theme.

    I m just asking for support, I ve made my child theme with a style.css file and a rtl.css file, but I don t know how to do for further customization of this child theme. I know some things in css but I saw in your wiki that copying the style.css of the parent theme will broke a lot of things. If these is some tutos that can help me please!

    Thank you!

    Mod

    Kenneth John Odle

    #19406

    There’s no right way to answer your question. Customisation means that you get to make the changes you want to make. So, when you look at your blog, what would you like to change?

    Graphene offers a lot of functions right out of the box, but eventually, you will probably want to use a child theme, so it is good that you have made one early. If you really have no idea what kind of changes you would like to make, head over to the Graphene Showcase to see just what is possible with this theme and to get a few ideas.

    Good luck and welcome aboard,

    Ken

    Wail

    #19407

    Thanks a lot Ken.

    In fact I know certainly what I want but still have difficulties to translate my ideas in acts with a child theme, I just want to know how to encode the new css of the child theme and what else i must do to making the child theme looking like the parent (copying the entire style could broke somethings said Khairul) so Help please 😀

    Wail

    #19408

    And by the way where exactly in the function.php insert this code to change the widht?

    <?php
    function graphene_custom_header_width(){
    return 960;
    }
    function graphene_custom_header_height(){
    return 281;
    }
    add_filter('graphene_header_image_width', 'graphene_custom_header_width');
    add_filter('graphene_header_image_height', 'graphene_custom_header_height');
    ?>
    Mod

    Kenneth John Odle

    #19409

    Put that in a new file, name it functions.php and place it in your child theme folder. Then upload it to your server.

    BTW, be sure to put code in this forum between backticks (on the ~ key in the upper left corner of your keyboard).

    Wail

    #19410

    Thanx a lot Ken. For all! 🙂

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.