badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

Layout broken in Child theme

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #108361
    imzahan.bd
    Participant

    Hi,

    I am using NewsCard Free theme. I have created a child theme and just enqueued the parent theme style.css in functions.php. Nothing less nothing more. But the layout is broken.

    Here is my style.css of child theme:
    /*!
    Theme Name: Shomobindu
    Template: newscard
    */

    Here is my functions.php of child theme:
    <?php
    function newscard_child_enqueue_styles() {
    wp_enqueue_style(
    ‘newscard-parent-style’,
    get_parent_theme_file_uri( ‘style.css’ )
    );
    }
    add_action( ‘wp_enqueue_scripts’, ‘newscard_child_enqueue_styles’ );
    ?>

    What is the wrong I am doing?

    Regards.

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.