We announce the release of NewsCard Pro with lots of features. View beautifuldemos

home width decrease after use child theme

Tagged: 

This topic contains 2 replies, has 2 voices, and was last updated by  Theme Horse Support Team 2 months, 1 week ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #60286

    longruibin
    Participant

    Hi,
    After i add child theme to newscard, the home page width decrease.
    the child theme code is created by using CHILD THEME GENERATOR plugin as following”
    /
    function newscard_child_theme_enqueue_child_styles() {
    $parent_style = ‘parent-style’;
    wp_enqueue_style($parent_style, get_template_directory_uri() . ‘/style.css’ );
    wp_enqueue_style(
    ‘child-style’,
    get_stylesheet_directory_uri() . ‘/style.css’,
    array( $parent_style ),
    wp_get_theme()->get(‘Version’) );
    }
    add_action( ‘wp_enqueue_scripts’, ‘newscard_child_theme_enqueue_child_styles’ );
    /
    currently the whole site no plugin is active as I wrote this problem.
    http://www.chartingyourtrading.com
    please help.

    ray

    #60287

    longruibin
    Participant

    The AD banner also disappear after active child theme.

    #60325

    Hi Longruibin,

    Can you please provide us your child theme via email.

    Thank you!

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

You must be logged in to reply to this topic.