• Hello Coder

    Recently I made a child theme for pbtheme. But when I active the child theme the header logo,text,nav menu & footer change. I can’t find the problem. I am using Profit Builder.

    Please help me.

Viewing 7 replies - 1 through 7 (of 7 total)
  • there is no problem

    – when using a child theme, it is treated as a new theme, and you need to set these customizations like header logo, menu, etc again.

    Thread Starter Petersen

    (@wpguru6)

    Hello alchymyth

    Thanks for your reply.
    But I have another problem. In my child theme functions.php, when I put custom code , The website is white screen. But The custom code also in parent theme functions.php.

    I want to put that code in child theme because when I update parent theme or wordpress,The code make sure to safe.

    What can I do Sir?

    Thread Starter Petersen

    (@wpguru6)

    Is parent theme custom code ( that is placed by me in style.css & functions.php) safe?

    In my child theme functions.php, when I put custom code , The website is white screen. But The custom code also in parent theme functions.php.

    try to enable DEBUG to see if you get error messages – http://codex.wordpress.org/Debugging_in_WordPress

    do not add the same code into both files.

    what exactly have you added into functions.php of the child theme? what is thefull code of the file?

    Thread Starter Petersen

    (@wpguru6)

    I want to add that code because when I will update parent theme , there will be no effect on that custom code.

    Thread Starter Petersen

    (@wpguru6)

    Also when I put on child theme functions.php, the website also white screen.
    here is the child theme functions.php code “

    <?php

    // enqueue the child theme stylesheet

    Function wp_schools_enqueue_scripts() {
    wp_register_style( ‘childstyle’, get_stylesheet_directory_uri() .’/style.css’ );
    wp_enqueue_style( ‘childstyle’ );
    }
    add_action( ‘wp_enqueue_scripts’, ‘wp_schools_enqueue_scripts’, 11 );

    I want to put another code below this code. But when I put another code the website is white screen.

    Thread Starter Petersen

    (@wpguru6)

    If I update parent theme, the custom code will change?

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘WHen active child theme header logo ,nav menu & footer changes to default?’ is closed to new replies.