New Landing How can we help? Themeforest Theme Support Neighborhood How to change swift framework via child theme?

Viewing 2 posts - 1 through 2 (of 2 total)
  • #162435
    dd_mel
    Member
    Post count: 46

    Hi,

    I changed:
    1. the output things of header in sf-header.php
    2. cart icon in both sf-hearder.php and sf-woocommerce.php (from sf-cart to fa fa-shopping-cart)

    The question is:
    I changed all of them in parent theme because I do not know how to write them in a child theme and to override the parent theme.

    Could you please help me?

    Thank you very much.
    Rebecca

    #162454
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    You need to copy the functions from those files, that you changed, and paste them into your child theme’s functions.php file.

    Most of the framework functions start with:

    if (!function_exists

    This is where you need to copy from

    – Kyle

Viewing 2 posts - 1 through 2 (of 2 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