New Landing How can we help? Themeforest Theme Support Pinpoint Problems by create a Child Theme

Viewing 4 posts - 1 through 4 (of 4 total)
  • Posted in: Pinpoint
  • #263139
    superpetrit
    Member
    Post count: 12

    Hi,

    i have create a folder pinpoint-child and create a styles.css and a functions.php. Files in Attachment.

    When i switch to the child, there are Problems with javascript. The Menu and all things where javascript is necessary doesn’t work correctly.

    Attachments:
    You must be logged in to view attached files.
    #263171
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please paste this code at functions.php of child theme.

    <?php
    function themify_custom_enqueue_child_theme_styles() {
    wp_enqueue_style( 'parent-theme-css', get_template_directory_uri() . '/style.css' );
    }
    add_action( 'wp_enqueue_scripts', 'themify_custom_enqueue_child_theme_styles' );
    ?>

    Thanks
    Mohammad

    #263243
    superpetrit
    Member
    Post count: 12

    Thanks. It works.

    #263245
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Glad to help you.
    Thanks
    Mohammad

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

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register